render :action 説明 他のアクションのテンプレートを表示 使い方 render :action => アクション名 レイアウトを指定 render :action = "アクション名", :layout => レイアウト名 例 「_new.html.erb」を表示 render :action => "new" 他のレイアウトを使用 render :action => "new", :layout => "user" レイアウトは使用しない render :action => "new", :layout => false render :template 説明 他のコントローラのテンプレートを表示 使い方 render :template = コントローラ名/アクション名 例 他のコントローラのテンプレートを表示 render :template => "user/show