2.2.1 Action Viewを出力する
render "edit" or render :edit
はedit.html.erbなどのテンプレートの呼び出しを行う
layoutの指定
class ApplicationController < ActionController::Base layout "main" #... end
などの方法で設定が可能。 個々のレイアウトも設定が可能
3.5 ネストしたレイアウトを使用する
<% content_for :stylesheets do %> #top_menu {display: none} #right_menu {float: right; background-color: yellow; color: black} <% end %>
cssを渡すことで制御することも可能