Skip to content

Commit

Permalink
uniq was deprecated and removed already
Browse files Browse the repository at this point in the history
This was causing an infinity loop since it was delegating to `all` and
all delegating back to this module.
  • Loading branch information
rafaelfranca committed Mar 17, 2017
1 parent 35afd2c commit 48f3be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/querying.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Querying
delegate :find_each, :find_in_batches, :in_batches, to: :all
delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins, :left_joins, :left_outer_joins, :or,
:where, :rewhere, :preload, :eager_load, :includes, :from, :lock, :readonly,
:having, :create_with, :uniq, :distinct, :references, :none, :unscope, :merge, to: :all
:having, :create_with, :distinct, :references, :none, :unscope, :merge, to: :all
delegate :count, :average, :minimum, :maximum, :sum, :calculate, to: :all
delegate :pluck, :ids, to: :all

Expand Down

0 comments on commit 48f3be8

Please sign in to comment.