lib/mobility/plugins/dirty.rb in mobility-0.2.3 vs lib/mobility/plugins/dirty.rb in mobility-0.3.0
- old
+ new
@@ -12,14 +12,10 @@
@see Mobility::Plugins::Sequel::Dirty
@note Dirty tracking can have unexpected results when combined with fallbacks.
A change in the fallback locale value will not mark an attribute falling
through to that locale as changed, even though it may look like it has
- changed. However, when the value for the current locale is changed from nil
- or blank to a new value, the change will be recorded as a change from that
- fallback value, rather than from the nil or blank value. The specs are the
- most reliable source of information on the interaction between dirty tracking
- and fallbacks.
+ changed. See the specs for details on expected behavior.
=end
module Dirty
class << self
# Applies dirty plugin to attributes for a given option value.