aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attributes_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Document option forwarding in ActiveRecord::Base.attributeAlan Wu2019-03-201-0/+11
* Make a deep copy of the _default_attributes in column_defaultsRafael Mendonça França2018-09-201-0/+14
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-3/+3
* Change refute to assert_notDaniel Colson2018-01-251-2/+2
* Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-131-1/+1
* Merge pull request #26707 from jcoleman/add_attribute_names_cache_busting_specRyuta Kamizono2017-09-181-0/+2
|\
| * Add test validating that Model.attribute_names cache is bustedJames Coleman2016-10-041-0/+2
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Make the second argument to `attribute` optionalSean Griffin2016-11-301-0/+8
|/
* 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