aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attributes_test.rb
Commit message (Expand)AuthorAgeFilesLines
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* Include user defined attributes in inspectSean Griffin2016-08-311-0/+6
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-14/+14
* Correct the behavior of virtual attributes on models loaded from the dbSean Griffin2016-07-251-0/+44
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Define ActiveRecord::Attribute::Null#type_castMatthew Erhard2016-05-111-0/+9
* Memoize user provided defaults before type castingSean Griffin2016-03-241-0/+11
* Ensure `#reset_column_information` clears child classes as wellSean Griffin2015-11-071-0/+13
* use `assert_not` instead of `refute` as mentioned in our guides.Yves Senn2015-08-131-2/+2
* Fix minor typo in test nameSean Griffin2015-07-201-1/+1
* Persist user provided default values, even if unchangedSean Griffin2015-05-281-0/+6
* Allow proc defaults with the Attributes APISean Griffin2015-05-281-0/+10
* Follow-up to #10776Robin Dupret2015-02-261-1/+1
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-1/+1
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-061-5/+37
* Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-311-15/+28
* Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-231-1/+1
* Don't modify the columns hash to set defaults from the attributes APISean Griffin2014-10-311-10/+14
* Rename `property` to `attribute`Sean Griffin2014-06-071-0/+111