Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Move strip_attributes out of vendor/plugins | Mark Longair | 2013-11-29 | -257/+0 |
| | ||||
* | Don't dirty every attribute in checking for whitespace. | Louise Crow | 2013-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 globalize3 | Henare Degan | 2013-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 modifications | Henare Degan | 2013-02-07 | -3/+3 |
| | ||||
* | Strip attributes. | francis | 2008-12-02 | -2/+3 |
| | ||||
* | Strip Attributes plugin | francis | 2008-12-02 | -0/+251 |