aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/paths.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-03-12 10:52:25 +0100
committerYves Senn <yves.senn@gmail.com>2013-03-15 14:15:47 +0100
commitcd87c85ef05e47f6ea1ce7422ae033fe6d82b030 (patch)
treed4a74669f3f5a9dd8900b688e4e00481c0a8b1e9 /railties/lib/rails/paths.rb
parenta1bb6c8b06db83546179175b9b2dde7912c86f9b (diff)
downloadrails-cd87c85ef05e47f6ea1ce7422ae033fe6d82b030.tar.gz
rails-cd87c85ef05e47f6ea1ce7422ae033fe6d82b030.tar.bz2
rails-cd87c85ef05e47f6ea1ce7422ae033fe6d82b030.zip
Deprecate the `:distinct` option for `Relation#count`.
We moved more and more away from passing options to finder / calculation methods. The `:distinct` option in `#count` was one of the remaining places. Since we can now combine `Relation#distinct` with `Relation#count` the option is no longer necessary and can be deprecated.
Diffstat (limited to 'railties/lib/rails/paths.rb')
0 files changed, 0 insertions, 0 deletions