diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-19 09:54:44 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-19 09:56:22 -0700 |
commit | 541194f641c960efe739b16f76999f47742d12ba (patch) | |
tree | d8f13ad92a7e1638572dd312480993621f602b1d /activerecord | |
parent | ae499b53ef275b27e460da9f1b8e7a547dc85d9d (diff) | |
download | rails-541194f641c960efe739b16f76999f47742d12ba.tar.gz rails-541194f641c960efe739b16f76999f47742d12ba.tar.bz2 rails-541194f641c960efe739b16f76999f47742d12ba.zip |
switching migrations to use require cleans up many warnings [#4234 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 5825482db7..23e4505f61 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -374,7 +374,7 @@ module ActiveRecord end def load_migration - load(filename) + require(filename) name.constantize end |