tilo/embedded_localization — Issue #4: a model's i18n attribute gets updated, even if model didn't change
Author: tilo
Created: 2012-02-29 21:12:02+00:00
State: open

need to make sure not trigger a save if information didn't change

b = Book.first
title = b.title
b.title = title # assigning what's already there..
b.changed?
=> true # should be false!
b.changed
=> ["i18n"] # ooops!
b.save
=> lock_version and updated_at get modified as a result