Send value from one action to another
Posted
by TJY
on Stack Overflow
See other posts from Stack Overflow
or by TJY
Published on 2010-05-26T23:54:47Z
Indexed on
2010/05/27
0:01 UTC
Read the original article
Hit count: 131
ruby-on-rails
|ruby
I have vendors/show view with button "Add new item" button. When i press "Add new item", it leads to items/new view with select which contain all Vendors.
I want to send vendor id value to items/new, that way it will be possible to show correct Vendor on my select.
How it can be done RIGHT?
© Stack Overflow or respective owner