How to check if instance variable value have changed?
For global variable there is a trace_var method http://apidock.com/ruby/Kernel/trace_var
But I didn't found any information how to do that with instance variables(or class one).
I didn't use Rails.
Ruby 1.9.2.