Hi i’ve to pass the variable user.user_id by the function link_to to the
action show.
the code is:
<%= link_to 'Show', :action => 'show', :id => user.user_id %> |
inside the action show the value of “id” is totally different from the
value contained in user.user_id
Maybe is only a stupid error.
Can anybody help me???
I cant see anything wrong with your code. can you post the action you
use ?
On 29 Jun., 14:46, incoroneta [email protected]
sorry that problem is solved…
i’ve found that the problem occurs when i try to read the results of
find() function, and i’ve added another post.
http://www.ruby-forum.com/topic/113614#265391
thanks