aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/college.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-03-18 15:15:24 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-03-18 15:15:24 +0900
commitcf4f05a7d4a2051cf3593bc7c3a6a216e74e797a (patch)
tree7db84f1507419c3a906cd7fb89ed8a7d631c8e42 /activerecord/test/models/college.rb
parentfd16e1a92feed73df70e140880cc17b6e482c846 (diff)
downloadrails-cf4f05a7d4a2051cf3593bc7c3a6a216e74e797a.tar.gz
rails-cf4f05a7d4a2051cf3593bc7c3a6a216e74e797a.tar.bz2
rails-cf4f05a7d4a2051cf3593bc7c3a6a216e74e797a.zip
Delegate `uniq` to `records`
This fixes CI failure due to 48f3be8c. `Enumerable#uniq` was introduced since Ruby 2.4. We should delegate `uniq` to `records` explicitly. And since b644964b `ActiveRecord::Relation` includes `Enumerable` so delegating `map` is unneeded.
Diffstat (limited to 'activerecord/test/models/college.rb')
0 files changed, 0 insertions, 0 deletions