Displaying 1 result from an estimated 1 matches for "site_key_before_type_cast".
2006 Jan 24
0
making an object id editable?
...s to be user
generated
So in app/views/sites/_form.rhtml I added:
<%= text_field ''site'', ''site_key'' %>
in the Site Key column, copied from the other fields
in the form. Looks like it should work but upon
browser reload I get an error, undefined method
`site_key_before_type_cast'' for #<Site:0x4081f828>
What does that mean?
Did I make a mistake in my files, or do I need to do
something else to the model to allow for the id to be
editable?
thanks for any help!
Hal
__________________________________________________
Do You Yahoo!?
Tired of spam? Ya...