Update_attributes

Is there a way to find out why an update_attributes command returned
false? After upgrade to 0.14.3, one of my update_attributes commands is
no longer working, but I don’t know of any way to find out why.

Marc
==================DISCLAIMER================================
This email may contain confidential and privileged material for the sole
use of the intended recipient.
Any review or distribution by others is strictly prohibited. If you are
not the intended recipient, please contact the sender and delete all
copies of it from your system.
The sender accepts no responsibility for viruses and it is your
responsibility to scan attachments (if any).
No contracts may be concluded on behalf of the sender by means of email
communications unless expressly stated to the contrary.
==================DISCLAIMER================================

On 22.11.2005, at 22.01, Marc L. wrote:

Is there a way to find out why an update_attributes command returned
false? After upgrade to 0.14.3, one of my update_attributes
commands is
no longer working, but I don’t know of any way to find out why.

Try to repeat the command in script/console and see what the object’s
errors attribute contains. update_attributes returns false if the
validations fail.

//jarkko

Thanks for the help Bill. So to be clear, validation rules apply on
update_attributes even if there attributes are NOT included in the
update_attributes to be changed. Is that because the update actually
calls to update all the information?

Thanks again!

-E