aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract/views
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-03-01 15:30:22 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-01 21:29:46 +0100
commitb9399c470bc7cf85952ab0cc7113f4f825a1a7b3 (patch)
tree8c647d37ee5ac822bf41731e3361888f668570be /actionpack/test/abstract/views
parentce7133bf520ea3f2b731448e8c697ed330340bb2 (diff)
downloadrails-b9399c470bc7cf85952ab0cc7113f4f825a1a7b3.tar.gz
rails-b9399c470bc7cf85952ab0cc7113f4f825a1a7b3.tar.bz2
rails-b9399c470bc7cf85952ab0cc7113f4f825a1a7b3.zip
deal with `#append` and `#prepend` on association collections.
Closes #7364. Collection associations behave similar to Arrays. However there is no way to prepend records. And to append one should use `<<`. Before this patch `#append` and `#prepend` did not add the record to the loaded association. `#append` now behaves like `<<` and `#prepend` is not defined.
Diffstat (limited to 'actionpack/test/abstract/views')
0 files changed, 0 insertions, 0 deletions