I would like to create a before_save callback that only gets run if there have been changes to any (but not necessarily all) of the three fields (street, city, state). How do you do this? Thanks

user.rb

class User
  before_save :run_test_method, :if => street_changed?

  ...
end
Edit
Report