Displaying 1 result from an estimated 1 matches for "copy_from_item".
Did you mean:
copy_from_iter
2006 May 29
2
Adding model fields
I added a field "url" to a table, modified the view to show the new
field. Now I''m getting an error in the code that processes the form in
the view:
copy_from_item = Item.find(params[:id])
@item = Item.new(copy_from_item.attributes)
The second line here gives this error:
undefined method `url='' for #<Item:0x246e3f0>
RAILS_ROOT: /Library/WebServer/Documents/Store/Inventory/public/../config/..
Application Trace | Framework Trace | Ful...