aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorErik Michaels-Ober <sferik@gmail.com>2014-10-13 11:47:16 +0100
committerErik Michaels-Ober <sferik@gmail.com>2014-10-13 11:47:16 +0100
commit8bb33e920a8627d38d52c1faa6dfd620d6799582 (patch)
tree1aac3dee92766b5eb8d7281e7e5956eac16c3eee /activerecord
parent996aab576eefb351025ae1d56371f41a0eb074c5 (diff)
downloadrails-8bb33e920a8627d38d52c1faa6dfd620d6799582.tar.gz
rails-8bb33e920a8627d38d52c1faa6dfd620d6799582.tar.bz2
rails-8bb33e920a8627d38d52c1faa6dfd620d6799582.zip
Replace Enumerable#reverse.each with Enumerable#reverse_each
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb
index 93fb502410..2241c41f36 100644
--- a/activerecord/test/cases/schema_dumper_test.rb
+++ b/activerecord/test/cases/schema_dumper_test.rb
@@ -19,7 +19,7 @@ class SchemaDumperTest < ActiveRecord::TestCase
def test_dump_schema_information_outputs_lexically_ordered_versions
versions = %w{ 20100101010101 20100201010101 20100301010101 }
- versions.reverse.each do |v|
+ versions.reverse_each do |v|
ActiveRecord::SchemaMigration.create!(:version => v)
end