1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Yves Senn a1bb6c8b06 rename Relation#uniq to Relation#distinct. #uniq still works.
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`.
2013-03-15 14:15:47 +01:00
..
assets
code/getting_started replace non-breaking spaces with normal spaces [ci skip] 2013-03-07 16:05:32 +01:00
rails_guides
source rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
.document adds guides/.document to tell rdoc not to process this directory 2013-03-04 22:28:23 +01:00
CHANGELOG.md
rails_guides.rb
Rakefile
w3c_validator.rb