Ruby on Rails Discussions
passing value through render :action
rubyonrails-talk
Jason_Roelofs
(Jason Roelofs)
September 13, 2006, 6:43pm
1
Try:
render :action => ‘new’, :locals => { :parameter =>
@form.pass_this_value
}
Jason
Related topics
Topic
Replies
Views
Activity
How to pass local variables to render_to_string?
rubyonrails-talk
0
117
January 20, 2007
How to pass a value from one action to another?
rubyonrails-talk
0
98
April 9, 2008
passing params with render
rubyonrails-talk
2
101
April 24, 2008
passing parameter by link_to
rubyonrails-talk
0
114
June 29, 2007
Pass locals with render_component
rubyonrails-talk
0
162
October 8, 2006