{"width":"100%","author_name":"Saku-Saku","categories":["\u6280\u8853","\u6280\u8853-RubyonRails"],"height":"190","published":"2017-10-06 18:00:00","blog_title":"SakuraWi - BLog","provider_name":"Hatena Blog","title":"\u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3000rails\u30ac\u30a4\u30c9","version":"1.0","provider_url":"https://hatena.blog","type":"rich","author_url":"https://blog.hatena.ne.jp/Saku-Saku/","url":"https://sakurawi.hateblo.jp/entry/layout-and-rendering","description":"2.2.1 Action View\u3092\u51fa\u529b\u3059\u308b render \"edit\" or render :edit \u306fedit.html.erb\u306a\u3069\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u547c\u3073\u51fa\u3057\u3092\u884c\u3046 layout\u306e\u6307\u5b9a class ApplicationController < ActionController::Base layout \"main\" #... end \u306a\u3069\u306e\u65b9\u6cd5\u3067\u8a2d\u5b9a\u304c\u53ef\u80fd\u3002 \u500b\u3005\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3082\u8a2d\u5b9a\u304c\u53ef\u80fd 3.5 \u30cd\u30b9\u30c8\u3057\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f7f\u7528\u3059\u308b <% content_for :stylesheets do %> #top_menu {display: none} #right_menu {float: r\u2026","blog_url":"https://sakurawi.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakurawi.hateblo.jp%2Fentry%2Flayout-and-rendering\" title=\"\u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3000rails\u30ac\u30a4\u30c9 - SakuraWi - BLog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null}