Browse files

switching migrations to use require cleans up many warnings [#4234 st…


Signed-off-by: wycats <>
  • Loading branch information...
1 parent ae499b5 commit 541194f641c960efe739b16f76999f47742d12ba @tenderlove tenderlove committed with wycats Mar 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/migration.rb
@@ -374,7 +374,7 @@ def migration
def load_migration
- load(filename)
+ require(filename)

3 comments on commit 541194f

ekosz commented on 541194f Mar 19, 2010

This seemed to break my rails build when I try to migrate. It now points to db/migrate//XXX instead of db/migrate/ . This feature was working until I ran bundle install and grabbed this.

ekosz commented on 541194f Mar 19, 2010

To verify, I just changed the code back to load(filename) and it worked.


This is not the best place to put bug reports. Create a ticket at and reference this commit.

Please sign in to comment.