you are here: codestackercodes [RSS] → tag edge [RSS]

[edge rails] unified rendering

http://weblog.rubyonrails.org/2008/12/26/this-week-in-edge-rails

# currently:


render :file => '/tmp/random_file.erb'
render :template => 'other_controller/action'
render :action => 'show'

# rails 2.3


render '/tmp/random_file.erb'
render 'other_controller/action'
render 'show'
render :show
Displaying 1 Code