Displaying 1 result from an estimated 1 matches for "affiliate_id_before_type_cast".
2006 Nov 04
0
any recommendations for handling a non autoincrement primary key
...(originally a scaffold...) has this:
<tr><th align="right">Affiliate Id:</th><td><%= text_field ''affiliate'',
''affiliate_id''%></td></tr>
Displaying the ''new'' form gives me:
undefined method `affiliate_id_before_type_cast'' for #<Affiliate:0xb7394660>
Has anyone had success at *setting* a primary key in a form.
Thanks,
-Kelly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060820/825db313/attachment-0001.html