aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/liquid.rb
Commit message (Collapse)AuthorAgeFilesLines
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-2/+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
|
* Deprecate set_table_name in favour of self.table_name= or defining your own ↵Jon Leighton2011-11-291-1/+1
| | | | method.
* Eager loading an association should not change the count of childrenNeeraj Singh2010-08-021-0/+5
[#4971 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>