aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_set.rb
Commit message (Collapse)AuthorAgeFilesLines
* `reload` should fully reload attributesSean Griffin2014-06-221-4/+0
| | | | | | `reload` is meant to put a record in the same state it would be if you were to do `Post.find(post.id)`. This means we should fully replace the attributes hash.
* Merge pull request #15839 from sgrif/sg-attr-set-nullYves Senn2014-06-221-1/+2
|\ | | | | Return a null object from `AttributeSet#[]`
| * Return a null object from `AttributeSet#[]`Sean Griffin2014-06-201-1/+2
| |
* | Move `attributes` to the `AttributeSet` object.Sean Griffin2014-06-211-0/+5
|/
* Introduce an object to aid in creation and management of `@attributes`Sean Griffin2014-06-191-0/+51
Mostly delegation to start, but we can start moving a lot of behavior in bulk to this object.