search for: bestpractise

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

Did you mean: bestpractice
2006 Jun 16
0
BestPractise for monitoring change of model attribute?
Hello, searched the docs, but didn?t found an answer to this question. What is your approach for detecting the change of a model attribute? If the attribute changes I want to fire some action. I could do that with callbacks like after_save, but this would fire in 90% without the model attribute beeing changed. Any hints are welcome! Feurio -- Posted via http://www.ruby-forum.com/.