diff options
author | kenta-s <knt01222@gmail.com> | 2017-02-04 22:49:47 +0900 |
---|---|---|
committer | kenta-s <knt01222@gmail.com> | 2017-02-04 23:20:09 +0900 |
commit | 5d509627c63c81d2a05b4eb69a76e19107c3c074 (patch) | |
tree | b9ddc076f434a6529f87b2353c490105562dd332 /activerecord/test | |
parent | d13bc5df902a2c82c3096b627830be97acbedf50 (diff) | |
download | rails-5d509627c63c81d2a05b4eb69a76e19107c3c074.tar.gz rails-5d509627c63c81d2a05b4eb69a76e19107c3c074.tar.bz2 rails-5d509627c63c81d2a05b4eb69a76e19107c3c074.zip |
Delegate `to_sentence` and `to_fomatted_s` to `records`
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index d2382b9bb2..49d4aeafc9 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -32,7 +32,8 @@ module ActiveRecord :exclude?, :find_all, :flat_map, :group_by, :include?, :length, :map, :none?, :one?, :partition, :reject, :reverse, :sample, :second, :sort, :sort_by, :third, - :to_ary, :to_set, :to_xml, :to_yaml, :join + :to_ary, :to_set, :to_xml, :to_yaml, :join, + :in_groups, :in_groups_of, :to_sentence, :to_formatted_s ] ARRAY_DELEGATES.each do |method| |