aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/strip_attributes
Commit message (Collapse)AuthorAgeLines
* Move strip_attributes out of vendor/pluginsMark Longair2013-11-29-257/+0
|
* Don't dirty every attribute in checking for whitespace.Louise Crow2013-09-05-3/+6
| | | | | | | Check to see if the stripped version is different before setting it on the record. If we don't do this, the subsequent call to write_attribute in Globalize3 which uses attribute_will_change! means we're storing versions when there hasn't really been any change.
* Fix bug to allow updating attributes when using strip_attributes and globalize3Henare Degan2013-02-07-7/+9
| | | | | | | | | | | 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.
* Update strip_attribute tests to work with our existing modificationsHenare Degan2013-02-07-3/+3
|
* Strip attributes.francis2008-12-02-2/+3
|
* Strip Attributes pluginfrancis2008-12-02-0/+251