Thanks Hassan Schroeder & Walter Davis for the replies.
I had added the form element in view page.
But I had forgotten to add it to the "<object>_params" in the
controller.
So, the new element, although getting passed from UI wasn't getting into
the "create" methods. The issue is now fixed.
Thanks again.
--
Posted via http://www.ruby-forum.com/.
--
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/4cb1fa04d62570b67dc21de0b03fdcb1%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment