search for: run_thi

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

Did you mean: run_this
2006 Feb 22
0
STI and Inheritance
...serType1 < BaseUser --UserType2 < BaseUser etc.... Recently when I create a UserType object and save it to the database it ignores the validation rules for the parent class BaseUser. Furthermore the after_validation method in the BaseUser was not being triggered if I did: after_validation :run_this I had to call the run_this method after_validation to get it to trigger. Any suggestions or thoughts on this would be greatly appreciated. Thx, -- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/...