Ruby on Rails
Monday, June 4, 2018
How do forms pass the id to the controller in normal basic scaffolding? There's no id field in the form, there's no magic that passes the form's container object to the controller, rather every parameter is explicity provided in input fields of the form, except the id, so how does the id get passed to the controller? Something in the forms syntax extracts the id from the @object and puts it in the form but i dunno what Thanks in advance
-- 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/7cb29d22-b82a-4101-aaa3-a054a556dfdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment