The first four I recognize from the documentation. But what about the
remaining five? If they do what I *think* they do, they could be
useful. But I'd prefer not use trial and error to find out if I could
RTFM instead.
So: Where are they documented (other than in the source code)?
... that ActiveRecord::Dirty "...is deprecated or moved on the latest
stable version." Is there another mechanism I should be using for
tracking changes to fields?
... that ActiveRecord::Dirty "...is deprecated or moved on the latest
stable version." Is there another mechanism I should be using for
tracking changes to fields?
The guts were moved into ActiveModel, but you can use it with active
record just like you used too. There was some fairly major refactoring
in rails 3 which confuses apidock quite a bit.
The guts were moved into ActiveModel, but you can use it with active
record just like you used too. There was some fairly major refactoring
in rails 3 which confuses apidock quite a bit.
Word.
I eventually found the more modern docs for ActiveModel::Dirty -- it
explains a bit more of what's going on: