aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-12-30 14:44:34 -0500
committerGitHub <noreply@github.com>2016-12-30 14:44:34 -0500
commit5c76d01086009e5b40cb429a5e78cc41c5170543 (patch)
tree5b15118ef9ce185ff72ecca30e31db26be80b872 /activerecord/lib/active_record/relation.rb
parent18325d733360fc864eb800d95e56f404dfeeb7d6 (diff)
parentc6dcc37bee7e02066457cbbb4a7f3dbbc22159be (diff)
downloadrails-5c76d01086009e5b40cb429a5e78cc41c5170543.tar.gz
rails-5c76d01086009e5b40cb429a5e78cc41c5170543.tar.bz2
rails-5c76d01086009e5b40cb429a5e78cc41c5170543.zip
Merge pull request #27509 from kamipo/remove_remaining_deprecations
Remove remaining ActiveRecord deprecations
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r--activerecord/lib/active_record/relation.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb
index a4b5eacfbf..ccd75ec5d2 100644
--- a/activerecord/lib/active_record/relation.rb
+++ b/activerecord/lib/active_record/relation.rb
@@ -614,15 +614,6 @@ module ActiveRecord
includes_values & joins_values
end
- # {#uniq}[rdoc-ref:QueryMethods#uniq] and
- # {#uniq!}[rdoc-ref:QueryMethods#uniq!] are silently deprecated.
- # #uniq_value delegates to #distinct_value to maintain backwards compatibility.
- # Use #distinct_value instead.
- def uniq_value
- distinct_value
- end
- deprecate uniq_value: :distinct_value
-
# Compares two relations for equality.
def ==(other)
case other