Forum: Ruby on Rails object.update_attributes(hash)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Samer A. (Guest)
on 2006-02-04 16:39
(Received via mailing list)
shouldn't @m.update_attributes(params[:m]) only update the attributes
listed in the params hash? it tries to update all table attributes

I hacked _form.rhtml and removed some of the fields, hoping that they
will not be updated.. but it didn't work.
This topic is locked and can not be replied to.