Displaying 1 result from an estimated 1 matches for "myobject_id".
2006 Mar 28
0
Question about Mapping from Forms
...;']", etc etc, then call
save. That''s what I''ve done in similar situations for ages in other
development languages. But, I had the urge to go back and look at
some of the online tutorials, where I noticed references like this:
<input type="hidden" id="myobject_id" name="myobject[id]" value="<%=
@myobject.id %>"/>
So it appears as though Rails can automagically populate an object
which can then be referred to with something like:
@myobject = @params[''myobject'']
At least that''s what it SEEMS like...