2017-01-27 4 views

답변

0

ApplicationController.renderer.render은 불행하게도 아직 사용할 수 없습니다, 5 레일의 새로운 기능입니다.

controller = ActionController::Base.new 
view = ActionView::Base.new(ActionController::Base.view_paths, {}, controller) 
view.render(partial: 'details/proposal')