Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix `attributes_before_type_cast` for serialised attributes. | Nikita Afanasenko | 2012-10-31 | 1 | -3/+13 | |
| | | | | Public method `attributes_before_type_cast` used to return internal AR structure (ActiveRecord::AttributeMethods::Serialization::Attribute), patch fixes this. Now behaves like `read_attribute_before_type_cast` and returns unserialised values. | |||||
* | Add test to ensure that save will raise SerializationTypeMismatch if the | Rafael Mendonça França | 2012-08-26 | 1 | -0/+6 | |
| | | | | serialized attribute value is not from the same class | |||||
* | We don't need this reload | Rafael Mendonça França | 2012-08-26 | 1 | -1/+1 | |
| | ||||||
* | Use the Topic class in the attribute serialized tests | Rafael Mendonça França | 2012-08-26 | 1 | -8/+4 | |
| | ||||||
* | Use teardown hook to return the initial state of the object | Rafael Mendonça França | 2012-08-26 | 1 | -16/+5 | |
| | ||||||
* | Move the serialized attribute tests to their own file | Rafael Mendonça França | 2012-08-26 | 1 | -0/+214 | |