rails/activemodel/lib
Petrik 4b3920ac9e Document ActiveRecord::AttributeMethods::Dirty module in the API docs
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.
2023-06-30 11:02:16 +02:00
..
active_model Document ActiveRecord::AttributeMethods::Dirty module in the API docs 2023-06-30 11:02:16 +02:00
active_model.rb Include READMEs in main framework pages of the API documentation 2023-03-21 21:16:28 +01:00