mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
:uniq is still a valid relation option since it was only silently
deprecated Fixes activerecord-deprecated_finders build. https://travis-ci.org/rails/activerecord-deprecated_finders/builds/5964703
This commit is contained in:
parent
e456ad514a
commit
c311447a0f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module ActiveRecord
|
|||
:extending]
|
||||
|
||||
SINGLE_VALUE_METHODS = [:limit, :offset, :lock, :readonly, :from, :reordering,
|
||||
:reverse_order, :distinct, :create_with]
|
||||
:reverse_order, :distinct, :create_with, :uniq]
|
||||
|
||||
VALUE_METHODS = MULTI_VALUE_METHODS + SINGLE_VALUE_METHODS
|
||||
|
||||
|
|
Loading…
Reference in a new issue