aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb.rails2
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-07 08:07:11 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-07 08:07:11 +1100
commit702399a111382e16e7e7b29ec7a90d98d5cd27aa (patch)
treec04e2d7e48a3072b4e7b1e8fcdac7631ff96248b /spec/spec_helper.rb.rails2
parent95aed91006f4e39cbf854efaa879adfda07d3838 (diff)
Fix bug to allow updating attributes when using strip_attributes and globalize3
We do this by making strip_attributes manipulate the unsaved object so that it doesn't interact with globalize3. Calling 'record.attributes' would invoke the globalize3 overridden method, which returns the stale translated attribute values. We now use the object's values instead which are the ones we have just assigned and want to update to.
Diffstat (limited to 'spec/spec_helper.rb.rails2')
0 files changed, 0 insertions, 0 deletions