As far as I understand your question you need to use the params hash- like object. -- Thanks, Ivan Povalyukhin
On Jan 2, 11:08 am, "Jose tomas R." <[email protected]> wrote: > how could i get a value from previus page? > for example > > on EVENT show view i have > > <%= link_to 'New Message', new_message_path( :event_id => @event.id) %> > | > > and i need to get the event id on the new_message page to send it when > creating the message > > -- > Posted viahttp://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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

