index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
attributes_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Document option forwarding in ActiveRecord::Base.attribute
Alan Wu
2019-03-20
1
-0
/
+11
*
Make a deep copy of the _default_attributes in column_defaults
Rafael Mendonça França
2018-09-20
1
-0
/
+14
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-3
/
+3
*
Change refute to assert_not
Daniel Colson
2018-01-25
1
-2
/
+2
*
Suppress `warning: BigDecimal.new is deprecated` in activerecord
Yasuo Honda
2017-12-13
1
-1
/
+1
*
Merge pull request #26707 from jcoleman/add_attribute_names_cache_busting_spec
Ryuta Kamizono
2017-09-18
1
-0
/
+2
|
\
|
*
Add test validating that Model.attribute_names cache is busted
James Coleman
2016-10-04
1
-0
/
+2
*
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
|
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
|
Make the second argument to `attribute` optional
Sean Griffin
2016-11-30
1
-0
/
+8
|
/
*
improve error message when include assertions fail
Michael Grosser
2016-09-16
1
-2
/
+2
*
Include user defined attributes in inspect
Sean Griffin
2016-08-31
1
-0
/
+6
*
applies new string literal convention in activerecord/test
Xavier Noria
2016-08-06
1
-14
/
+14
*
Correct the behavior of virtual attributes on models loaded from the db
Sean Griffin
2016-07-25
1
-0
/
+44
*
Support for unified Integer class in Ruby 2.4+
Jeremy Daer
2016-05-18
1
-1
/
+1
*
Define ActiveRecord::Attribute::Null#type_cast
Matthew Erhard
2016-05-11
1
-0
/
+9
*
Memoize user provided defaults before type casting
Sean Griffin
2016-03-24
1
-0
/
+11
*
Ensure `#reset_column_information` clears child classes as well
Sean Griffin
2015-11-07
1
-0
/
+13
*
use `assert_not` instead of `refute` as mentioned in our guides.
Yves Senn
2015-08-13
1
-2
/
+2
*
Fix minor typo in test name
Sean Griffin
2015-07-20
1
-1
/
+1
*
Persist user provided default values, even if unchanged
Sean Griffin
2015-05-28
1
-0
/
+6
*
Allow proc defaults with the Attributes API
Sean Griffin
2015-05-28
1
-0
/
+10
*
Follow-up to #10776
Robin Dupret
2015-02-26
1
-1
/
+1
*
`type_cast_from_user` -> `cast`
Sean Griffin
2015-02-17
1
-1
/
+1
*
`Type#type_cast_from_database` -> `Type#deserialize`
Sean Griffin
2015-02-17
1
-1
/
+1
*
Allow a symbol to be passed to `attribute`, in place of a type object
Sean Griffin
2015-02-06
1
-5
/
+37
*
Attribute assignment and type casting has nothing to do with columns
Sean Griffin
2015-01-31
1
-15
/
+28
*
Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...
Bogdan Gusiev
2015-01-23
1
-1
/
+1
*
Don't modify the columns hash to set defaults from the attributes API
Sean Griffin
2014-10-31
1
-10
/
+14
*
Rename `property` to `attribute`
Sean Griffin
2014-06-07
1
-0
/
+111