{"id":16522,"date":"2012-07-19T23:33:02","date_gmt":"2012-07-19T21:33:02","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=16522"},"modified":"2012-07-19T23:33:02","modified_gmt":"2012-07-19T21:33:02","slug":"intermediate-rails-understanding-models-views-and-controllers","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/","title":{"rendered":"Intermediate Rails: Understanding Models, Views and Controllers"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/betterexplained.com\/articles\/intermediate-rails-understanding-models-views-and-controllers\/\">Intermediate Rails: Understanding Models, Views and Controllers<\/a><\/p>\n<p>BetterExplained.com better explains the MVC pattern. \u00a0The examples are using Ruby on Rails, but that&#8217;s irrelevant. \u00a0Many other MVC implementations in web frameworks are working in exactly the same manner. \u00a0If you are not familiar or not very comfortable with MVC, read the article. \u00a0It will make things clearer.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. \u00a0The examples are using Ruby on Rails, but that&#8217;s irrelevant. \u00a0Many other MVC implementations in web frameworks are working in exactly the same manner. \u00a0If you are not familiar or not very comfortable with MVC, read the article. \u00a0It will make things &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Intermediate Rails: Understanding Models, Views and Controllers<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":16523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[3063,3061,3062,1330],"keyring_services":[],"class_list":["post-16522","post","type-post","status-publish","format-link","has-post-thumbnail","hentry","category-general","category-programming","category-technology","tag-frameworks","tag-mvc","tag-ruby","tag-web-development","post_format-post-format-link"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that&#039;s irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that&#039;s irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-07-19T21:33:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-07-19T21:33:02+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that&#039;s irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#blogposting\",\"name\":\"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov\",\"headline\":\"Intermediate Rails: Understanding Models, Views and Controllers\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/mamchenkov.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/mvc-rails.png?fit=500%2C472&ssl=1\",\"width\":500,\"height\":472},\"datePublished\":\"2012-07-19T23:33:02+02:00\",\"dateModified\":\"2012-07-19T23:33:02+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#webpage\"},\"articleSection\":\"All, Programming, Technology, frameworks, MVC, Ruby, web development, Link\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"position\":3,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#listItem\",\"name\":\"Intermediate Rails: Understanding Models, Views and Controllers\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#listItem\",\"position\":4,\"name\":\"Intermediate Rails: Understanding Models, Views and Controllers\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/\",\"name\":\"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov\",\"description\":\"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that's irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/mamchenkov.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/mvc-rails.png?fit=500%2C472&ssl=1\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#mainImage\",\"width\":500,\"height\":472},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/07\\\/19\\\/intermediate-rails-understanding-models-views-and-controllers\\\/#mainImage\"},\"datePublished\":\"2012-07-19T23:33:02+02:00\",\"dateModified\":\"2012-07-19T23:33:02+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov","description":"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that's irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#blogposting","name":"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov","headline":"Intermediate Rails: Understanding Models, Views and Controllers","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/07\/mvc-rails.png?fit=500%2C472&ssl=1","width":500,"height":472},"datePublished":"2012-07-19T23:33:02+02:00","dateModified":"2012-07-19T23:33:02+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#webpage"},"articleSection":"All, Programming, Technology, frameworks, MVC, Ruby, web development, Link"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","position":3,"name":"Programming","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#listItem","name":"Intermediate Rails: Understanding Models, Views and Controllers"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#listItem","position":4,"name":"Intermediate Rails: Understanding Models, Views and Controllers","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/","name":"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov","description":"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that's irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/07\/mvc-rails.png?fit=500%2C472&ssl=1","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#mainImage","width":500,"height":472},"primaryImageOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/#mainImage"},"datePublished":"2012-07-19T23:33:02+02:00","dateModified":"2012-07-19T23:33:02+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov","og:description":"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that's irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things","og:url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2012-07-19T21:33:02+00:00","article:modified_time":"2012-07-19T21:33:02+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"Intermediate Rails: Understanding Models, Views and Controllers - Leonid Mamchenkov","twitter:description":"Intermediate Rails: Understanding Models, Views and Controllers BetterExplained.com better explains the MVC pattern. The examples are using Ruby on Rails, but that's irrelevant. Many other MVC implementations in web frameworks are working in exactly the same manner. If you are not familiar or not very comfortable with MVC, read the article. It will make things","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"16522","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-20 00:19:37","updated":"2026-01-15 08:01:59","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tIntermediate Rails: Understanding Models, Views and Controllers\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"Programming","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/"},{"label":"Intermediate Rails: Understanding Models, Views and Controllers","link":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/19\/intermediate-rails-understanding-models-views-and-controllers\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/07\/mvc-rails.png?fit=500%2C472&ssl=1","jetpack-related-posts":[{"id":28627,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/06\/12\/inflected-a-port-of-activesupports-inflector-to-node-js-and-the-browser\/","url_meta":{"origin":16522,"position":0},"title":"Inflected &#8211; a port of ActiveSupport&#8217;s inflector to Node.js and the browser","author":"Leonid Mamchenkov","date":"June 12, 2018","format":false,"excerpt":"For the last few years I have been heavily involved in building web applications with the CakePHP framework.\u00a0 Apart from all the usual MVC, ORM, and so on, and so forth, features, I am a big fan of the CakePHP utilities.\u00a0 And among all of them, my long time favorite\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23063,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/12\/01\/what-were-the-technical-limits-that-twitter-reached-with-ruby-on-rails\/","url_meta":{"origin":16522,"position":1},"title":"What were the technical limits that Twitter reached with Ruby on Rails?","author":"Leonid Mamchenkov","date":"December 1, 2014","format":"link","excerpt":"What were the technical limits that Twitter reached with Ruby on Rails? Quora question that has some well researched answers. \u00a0This is quite handy for any system architect or web developer.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20210,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/02\/03\/list-of-minimalist-web-frameworks\/","url_meta":{"origin":16522,"position":2},"title":"List of minimalist web frameworks","author":"Leonid Mamchenkov","date":"February 3, 2014","format":"link","excerpt":"List of minimalist web frameworks Framework for CSS Web Framework for C Frameworks for Front-end JS Web framework for Go Web framework for Haskell Web framework for Java Web framework for Javascript Web framework for Lua Web framework for Node.js Web framework for Perl Web framework for PHP Web framework\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16540,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/22\/weekly-digest-2012-07-22\/","url_meta":{"origin":16522,"position":3},"title":"Weekly digest &#8211; 2012-07-22","author":"Leonid Mamchenkov","date":"July 22, 2012","format":false,"excerpt":"Tribute to MS Outlook http:\/\/t.co\/XjIhglhJ # Stash - privately hosted Git repositories http:\/\/t.co\/Ms8Y0ZVR # Requiem For A Digg http:\/\/t.co\/SBiUFv8w # The Most Important Tech Company You've Never Heard Of http:\/\/t.co\/KEvwjBJP # This is What Snake Venom Does to Blood! http:\/\/t.co\/Z6HRcelU # New note : \u041a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043a\u0440\u044f\u043a\u043e\u0437\u044f\u0431\u0440\u044b? http:\/\/t.co\/TYM79cYA # New\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27668,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/06\/08\/huginn-integration-platform\/","url_meta":{"origin":16522,"position":4},"title":"Huginn integration platform","author":"Leonid Mamchenkov","date":"June 8, 2017","format":false,"excerpt":"Huginn is an integration platform that manages triggered events with agent services according to workflows. \u00a0Unlike many hosted services (Zapier, IFTTT, bip.io), Huginn is an Open Source application written in Ruby on Rails, and can be hosted, extended, and customized locally. If you can read Russian, make sure to check\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/06\/huginn-500x217.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22179,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/12\/sentry-an-event-logging-platform-focused-on-capturing-and-aggregating-exceptions\/","url_meta":{"origin":16522,"position":5},"title":"Sentry &#8211; an event logging platform focused on capturing and aggregating exceptions","author":"Leonid Mamchenkov","date":"July 12, 2014","format":"link","excerpt":"Sentry - an event logging platform focused on capturing and aggregating exceptions. \u00a0Most of the code is Open Source (except for a few proprietary plugins), in case you want to run your own hosted version. Supports Ruby, Python, JavaScript, Java, Rails, Django, PHP, iOS, node.js, .NET, and more.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"sentry","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/07\/sentry-500x182.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=16522"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16522\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media\/16523"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=16522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=16522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=16522"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=16522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}