search for: ruby_design_patterns_observer

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

2006 Aug 30
1
How can I make a property aware of changes on another?
I have a model that needs to update a property whenever another property changes, i.e. changing the model ''type'' property updates the ''description'' property with another value. I don''t know how to get access to the underlying fields handled by rails within a model class. Thanks, Daniel -- Posted via http://www.ruby-forum.com/.