[Rails] Re: referring to params in other controller

2010-11-29 Thread Paul Roche
Thanks :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+

Re: [Rails] Re: referring to params in other controller

2010-11-29 Thread rajeevsharma86
basically you got two possibilities: 1. write the value into a session-variable session[:object] = "some string or value" 2. pass your value as a parameter to some action and read params in your controller: view: <%= link_to "my_action" :controller => :bla, :action => :my_action, :object => "

[Rails] Re: referring to params in other controller

2010-11-29 Thread Paul Roche
Sure. I have a page in (view\controller x) with an input field. Submitting the form displays the value of the input field on this same page. There is a link on this page that connects to another page in a different view/controller (view\controller y). I want to use the param (input field value

Re: [Rails] Re: referring to params in other controller

2010-11-29 Thread rajeevsharma86
rom a page in another controller? means On Tue, Nov 30, 2010 at 9:36 AM, Marnen Laibow-Koser wrote: > Paul Roche wrote in post #964999: > > Hi. Is it possible to refer to a parameter from a page in another > > controller? > > Your question is unclear as stated. More details? > > Best, > -- >

[Rails] Re: referring to params in other controller

2010-11-29 Thread Marnen Laibow-Koser
Paul Roche wrote in post #964999: > Hi. Is it possible to refer to a parameter from a page in another > controller? Your question is unclear as stated. More details? Best, --  Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org Sent from my iPhone -- Posted via http://www.ruby-forum.c