aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/book.rb
Commit message (Collapse)AuthorAgeFilesLines
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-1/+1
| | | | | | | | The similarity of `Relation#uniq` to `Array#uniq` is confusing. Since our Relation API is close to SQL terms I renamed `#uniq` to `#distinct`. There is no deprecation. `#uniq` and `#uniq!` are aliases and will continue to work. I also updated the documentation to promote the use of `#distinct`.
* Convert association macros to the new syntaxJon Leighton2012-07-201-1/+1
|
* Initial nested_has_many_through support [#1152]Bodaniel Jeanes2010-09-261-0/+2
|
* test and fix collection_singular_ids= with string primary keys [#5125 ↵Robert Pankowecki2010-08-021-0/+3
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* move assets and modelsJeremy Kemper2008-01-181-0/+4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de