Is it changed?
Rails has some useful methods to check whether an object has changed since first being loaded into memory. Here are some examples:
More info here: ActiveModel::Dirty.
Rails has some useful methods to check whether an object has changed since first being loaded into memory. Here are some examples:
More info here: ActiveModel::Dirty.