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 Love 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 -- Jarkko Laine http://jlaine.net http://odesign.fi _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails