Permalink
Browse files

Moved extend call into migration_helpers.rb.

This makes the package usable as a library.
  • Loading branch information...
1 parent 2836fd9 commit c655568c263033fd11c352587dc8a5e52cadc91c @richmeyers richmeyers committed May 17, 2011
Showing with 2 additions and 2 deletions.
  1. +0 −2 init.rb
  2. +2 −0 lib/migration_helpers.rb
View
@@ -3,5 +3,3 @@
)
require File.join( LIB_PATH, 'migration_helpers' )
-
-ActiveRecord::Migration.extend MigrationConstraintHelpers
View
@@ -94,3 +94,5 @@ def field_list_name(fields)
end
end
+
+ActiveRecord::Migration.extend(MigrationConstraintHelpers)

0 comments on commit c655568

Please sign in to comment.