aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/serialized_attribute_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in serialized_attribute_test. [ci skip]Max Edmands2013-04-281-1/+1
|
* Added testcase for #10067 and a CHANGELOG entry about this change.kennyj2013-04-251-0/+14
|
* test case for `serialize` default values.Yves Senn2013-03-071-0/+7
| | | | Closes #9110
* Serialized attribute can be serialized in an integer columnRafael Mendonça França2012-12-211-1/+10
| | | | Fix #8575
* Fix decorating columns for serialized attributesitzki2012-12-101-0/+13
|
* Fix `attributes_before_type_cast` for serialised attributes.Nikita Afanasenko2012-10-311-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 theRafael Mendonça França2012-08-261-0/+6
| | | | serialized attribute value is not from the same class
* We don't need this reloadRafael Mendonça França2012-08-261-1/+1
|
* Use the Topic class in the attribute serialized testsRafael Mendonça França2012-08-261-8/+4
|
* Use teardown hook to return the initial state of the objectRafael Mendonça França2012-08-261-16/+5
|
* Move the serialized attribute tests to their own fileRafael Mendonça França2012-08-261-0/+214