On Tue, Mar 9, 2010 at 10:22 AM, kevid <alumsimportant@yahoo.ca> wrote:
> Please, is it possible passing a local variable (specifically of type
> "integer") from a view to controller using the "link_to" function
> in rails.
>
> All answers are appreciated.
Have you read the API doc for link_to ? Your answer is there :-)
(though HTTP request parameters are going to be strings, always)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
--
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