{"id":1883,"date":"2013-01-04T15:49:43","date_gmt":"2013-01-04T04:49:43","guid":{"rendered":"https:\/\/www.spiffystores.com.au\/blog\/?p=1883"},"modified":"2021-09-01T07:17:16","modified_gmt":"2021-08-31T21:17:16","slug":"problems-rendering-a-layout-in-rails3","status":"publish","type":"post","link":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/","title":{"rendered":"Problems rendering a layout in Rails3"},"content":{"rendered":"\n<p>From time to time we like to share technical tips when we&#8217;ve uncovered a solution to a problem that might help other Rails developers.<\/p>\n\n\n\n<p>Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn&#8217;t get the layout to display, even though all the syntax was correct. Others have experienced this sort of problem. See <a href=\"http:\/\/stackoverflow.com\/questions\/6605716\/cant-render-layout-in-rails-3\" target=\"_blank\" rel=\"noopener\">http:\/\/stackoverflow.com\/questions\/6605716\/cant-render-layout-in-rails-3<\/a> for an example.<\/p>\n\n\n\n<p>After lots of digging around and tracing, the answer became clear. The AbstractController::Layouts module has an initialize method, but this method was not being called when a new controller was created.<\/p>\n\n\n\n<p>If you experience this problem, then check any modules that you have included in your controller, as one of them has an initialize method that doesn&#8217;t call &#8216;super&#8217;.<\/p>\n\n\n\n<p>If an included module needs an initialize method, then it needs to follow this pattern:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">def initialize(*)\n  # Module initialization code here\n  super\nend<\/code><\/pre>\n\n\n\n<p>If the call to &#8216;super&#8217; isn&#8217;t included, then the initialization chain stops, and your controller won&#8217;t be properly initialized. You can find out all the included modules for a controller by executing this code from the console:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"ruby\" class=\"language-ruby\">MyController.ancestors<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>From time to time we like to share technical tips when we&#8217;ve uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with &hellip; <a href=\"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[218,216,215,12,220,214,11,219,217],"class_list":["post-1883","post","type-post","status-publish","format-standard","hentry","category-geek-stuff","tag-controller","tag-initialize","tag-layout","tag-rails","tag-rails-3","tag-rails3","tag-ruby","tag-ruby-on-rails","tag-super"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"From time to time we like to share technical tips when we&#039;ve uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn&#039;t get the layout to display, even though all the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Brian\"\/>\n\t<meta name=\"google-site-verification\" content=\"IZJrt3makBt-M2quuWWH3u_03zWqYFgBUMNHrhv4Nsc\" \/>\n\t<meta name=\"keywords\" content=\"controller,initialize,layout,rails,rails 3,rails3,ruby,ruby on rails,super,geek stuff\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/\" \/>\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=\"Spiffy Stores Blog | Checkout - The Spiffy Stores Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Problems rendering a layout in Rails3 | Spiffy Stores Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"From time to time we like to share technical tips when we&#039;ve uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn&#039;t get the layout to display, even though all the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1672\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-01-04T04:49:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-08-31T21:17:16+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/spiffystores\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@spiffystores\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Problems rendering a layout in Rails3 | Spiffy Stores Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"From time to time we like to share technical tips when we&#039;ve uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn&#039;t get the layout to display, even though all the\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@spiffystores\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#article\",\"name\":\"Problems rendering a layout in Rails3 | Spiffy Stores Blog\",\"headline\":\"Problems rendering a layout in Rails3\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/author\\\/brian\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/spiffy-stores-logo-large.png\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#articleImage\",\"width\":1672,\"height\":1672,\"caption\":\"Spiffy Stores\"},\"datePublished\":\"2013-01-04T15:49:43+11:00\",\"dateModified\":\"2021-09-01T07:17:16+10:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#webpage\"},\"articleSection\":\"Geek stuff, controller, initialize, layout, rails, rails 3, rails3, ruby, ruby on rails, super\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/category\\\/geek-stuff\\\/#listItem\",\"name\":\"Geek stuff\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/category\\\/geek-stuff\\\/#listItem\",\"position\":2,\"name\":\"Geek stuff\",\"item\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/category\\\/geek-stuff\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#listItem\",\"name\":\"Problems rendering a layout in Rails3\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#listItem\",\"position\":3,\"name\":\"Problems rendering a layout in Rails3\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/category\\\/geek-stuff\\\/#listItem\",\"name\":\"Geek stuff\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#organization\",\"name\":\"Spiffy Stores\",\"description\":\"Checkout - The Spiffy Stores Blog\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/\",\"telephone\":\"+611300727334\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/spiffy-stores-logo-large.png\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#organizationLogo\",\"width\":1672,\"height\":1672,\"caption\":\"Spiffy Stores\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/spiffystores\",\"https:\\\/\\\/twitter.com\\\/spiffystores\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/author\\\/brian\\\/#author\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/author\\\/brian\\\/\",\"name\":\"Brian\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e353f9d9a739a33b0eeee1e15ec3d629ccee44014b28e583950ffff7028c26bb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Brian\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#webpage\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/\",\"name\":\"Problems rendering a layout in Rails3 | Spiffy Stores Blog\",\"description\":\"From time to time we like to share technical tips when we've uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn't get the layout to display, even though all the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/2013\\\/01\\\/04\\\/problems-rendering-a-layout-in-rails3\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/author\\\/brian\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/author\\\/brian\\\/#author\"},\"datePublished\":\"2013-01-04T15:49:43+11:00\",\"dateModified\":\"2021-09-01T07:17:16+10:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/\",\"name\":\"Spiffy Stores Blog\",\"description\":\"Checkout - The Spiffy Stores Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.spiffystores.com.au\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Problems rendering a layout in Rails3 | Spiffy Stores Blog","description":"From time to time we like to share technical tips when we've uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn't get the layout to display, even though all the","canonical_url":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/","robots":"max-image-preview:large","keywords":"controller,initialize,layout,rails,rails 3,rails3,ruby,ruby on rails,super,geek stuff","webmasterTools":{"google-site-verification":"IZJrt3makBt-M2quuWWH3u_03zWqYFgBUMNHrhv4Nsc","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#article","name":"Problems rendering a layout in Rails3 | Spiffy Stores Blog","headline":"Problems rendering a layout in Rails3","author":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/author\/brian\/#author"},"publisher":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png","@id":"https:\/\/www.spiffystores.com.au\/blog\/#articleImage","width":1672,"height":1672,"caption":"Spiffy Stores"},"datePublished":"2013-01-04T15:49:43+11:00","dateModified":"2021-09-01T07:17:16+10:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#webpage"},"isPartOf":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#webpage"},"articleSection":"Geek stuff, controller, initialize, layout, rails, rails 3, rails3, ruby, ruby on rails, super"},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.spiffystores.com.au\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/#listItem","name":"Geek stuff"}},{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/#listItem","position":2,"name":"Geek stuff","item":"https:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#listItem","name":"Problems rendering a layout in Rails3"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#listItem","position":3,"name":"Problems rendering a layout in Rails3","previousItem":{"@type":"ListItem","@id":"https:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/#listItem","name":"Geek stuff"}}]},{"@type":"Organization","@id":"https:\/\/www.spiffystores.com.au\/blog\/#organization","name":"Spiffy Stores","description":"Checkout - The Spiffy Stores Blog","url":"https:\/\/www.spiffystores.com.au\/blog\/","telephone":"+611300727334","logo":{"@type":"ImageObject","url":"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#organizationLogo","width":1672,"height":1672,"caption":"Spiffy Stores"},"image":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/spiffystores","https:\/\/twitter.com\/spiffystores"]},{"@type":"Person","@id":"https:\/\/www.spiffystores.com.au\/blog\/author\/brian\/#author","url":"https:\/\/www.spiffystores.com.au\/blog\/author\/brian\/","name":"Brian","image":{"@type":"ImageObject","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e353f9d9a739a33b0eeee1e15ec3d629ccee44014b28e583950ffff7028c26bb?s=96&d=mm&r=g","width":96,"height":96,"caption":"Brian"}},{"@type":"WebPage","@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#webpage","url":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/","name":"Problems rendering a layout in Rails3 | Spiffy Stores Blog","description":"From time to time we like to share technical tips when we've uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn't get the layout to display, even though all the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/#breadcrumblist"},"author":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/author\/brian\/#author"},"creator":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/author\/brian\/#author"},"datePublished":"2013-01-04T15:49:43+11:00","dateModified":"2021-09-01T07:17:16+10:00"},{"@type":"WebSite","@id":"https:\/\/www.spiffystores.com.au\/blog\/#website","url":"https:\/\/www.spiffystores.com.au\/blog\/","name":"Spiffy Stores Blog","description":"Checkout - The Spiffy Stores Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.spiffystores.com.au\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Spiffy Stores Blog | Checkout - The Spiffy Stores Blog","og:type":"article","og:title":"Problems rendering a layout in Rails3 | Spiffy Stores Blog","og:description":"From time to time we like to share technical tips when we've uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn't get the layout to display, even though all the","og:url":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/","og:image":"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png","og:image:secure_url":"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png","og:image:width":1672,"og:image:height":1672,"article:published_time":"2013-01-04T04:49:43+00:00","article:modified_time":"2021-08-31T21:17:16+00:00","article:publisher":"https:\/\/www.facebook.com\/spiffystores","twitter:card":"summary","twitter:site":"@spiffystores","twitter:title":"Problems rendering a layout in Rails3 | Spiffy Stores Blog","twitter:description":"From time to time we like to share technical tips when we've uncovered a solution to a problem that might help other Rails developers. Spiffy Stores is written using the Ruby on Rails framework, and we encountered a glitch with the Rails3 layouts. Basically we couldn't get the layout to display, even though all the","twitter:creator":"@spiffystores","twitter:image":"https:\/\/www.spiffystores.com.au\/blog\/wp-content\/uploads\/2021\/05\/spiffy-stores-logo-large.png"},"aioseo_meta_data":{"post_id":"1883","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"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":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"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":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","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":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":{"locations":{"business":{"name":"","businessType":"","image":"","areaServed":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"streetLine1":"","streetLine2":"","zipCode":"","city":"","state":"","country":"","addressFormat":"#streetLineOne\n#streetLineTwo\n#city, #state #zipCode"},"contact":{"email":"","phone":"","phoneFormatted":"","fax":"","faxFormatted":""},"ids":{"vat":"","tax":"","chamberOfCommerce":""},"payment":{"priceRange":"","currenciesAccepted":"","methods":""}}},"openingHours":{"useDefaults":true,"show":true,"alwaysOpen":false,"use24hFormat":false,"timezone":"","labels":{"closed":"","alwaysOpen":""},"days":{"monday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"tuesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"wednesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"thursday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"friday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"saturday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"sunday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"}}}},"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-04 21:20:58","updated":"2025-06-04 08:15:36","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.spiffystores.com.au\/blog\" 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:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/\" title=\"Geek stuff\">Geek stuff<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProblems rendering a layout in Rails3\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.spiffystores.com.au\/blog"},{"label":"Geek stuff","link":"https:\/\/www.spiffystores.com.au\/blog\/category\/geek-stuff\/"},{"label":"Problems rendering a layout in Rails3","link":"https:\/\/www.spiffystores.com.au\/blog\/2013\/01\/04\/problems-rendering-a-layout-in-rails3\/"}],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pgk4DF-un","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/posts\/1883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/comments?post=1883"}],"version-history":[{"count":1,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/posts\/1883\/revisions"}],"predecessor-version":[{"id":3235,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/posts\/1883\/revisions\/3235"}],"wp:attachment":[{"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/media?parent=1883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/categories?post=1883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiffystores.com.au\/blog\/wp-json\/wp\/v2\/tags?post=1883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}