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." <li...@ruby-forum.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment