Ruby on Rails Wednesday, July 8, 2015

You can still use form_for, but use text_field_tag rather than f.text_field for the non model form inputs.

Later how can I send those values inside text_field_tag to different controller's action using button_to?

thank you. 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7f9a0a25-7797-4e2b-9fc7-51260822dce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment