4b3920ac9e
Currently it is a bit unclear which dirty methods can be called on Active Record models. You have to know that methods from ActiveModel::Dirty are included. It also unclear if methods can be invoked in the form of `saved_change_to_name?` unless you read the documentation of the `saved_change_to_attribute?` method. By adding an introduction to the module we can show which methods are defined specifically for Active Record, and how to call them, very similar to the ActiveModel::Dirty introduction. Linking to ActiveModel::Dirty makes it's also easier to find methods defined there. |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |