search for: m001316

Displaying 1 result from an estimated 1 matches for "m001316".

Did you mean: 1001316
2008 Feb 03
1
ActiveRecord object.valid? triggers unexepected results
...ause it''s associated with other objects in a form, I want to save them all together. The surprise was that object.valid? triggers after_validation_on_update. I''m having an audit log and I was getting bogus entries. http://api.rubyonrails.org/classes/ActiveRecord/Validations.html#M001316 valid?() Runs validate and validate_on_create or validate_on_update and returns true if no errors were added otherwise false. valid?() should run all validations, but not trigger after_validation callbacks. This is not just a rant... I''m looking for solutions? How can I have an audit log...