Displaying 1 result from an estimated 1 matches for "cutco".
Did you mean:
cusco
2006 Feb 28
1
this feels ugly
...n.new(params[:person])
...
end
this seems ugly to me and makes me feel like this is not the best way.
I''m doing this because Person.new expects Company to be a Company
object not a string. params[''person''][''Company''] comes in from the
form as "cutco" or "edgeslice" or whatever.
Anyway, i''m using a text field instead of a select box, because
select boxes with more that like 3 items are annoying to use. I''m
going to autocomplete the company text field.
how do people usually create new objects (and specify w...