From 1b8c1d66deee50825bd1b5973ed4bb0666d715d3 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 19 Mar 2010 09:54:44 -0700 Subject: [PATCH] switching migrations to use require cleans up many warnings [#4234 state:resolved] --- 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 5825482..23e4505 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 -- 1.6.6