lib/inherits-migration.rb in class-table-inheritance-1.1.2 vs lib/inherits-migration.rb in class-table-inheritance-1.2.0

- old
+ new

@@ -1,5 +1,7 @@ +require 'active_record' + module InheritsMigration def self.included(base) base.class_eval do alias_method_chain :create_table , :inherits @@ -23,6 +25,8 @@ yield table_defintion end end end -ActiveRecord::ConnectionAdapters::SchemaStatements::send(:include, InheritsMigration) \ No newline at end of file +#ActiveRecord::ConnectionAdapters::SchemaStatements::send(:include, InheritsMigration) +ActiveRecord::Base +ActiveRecord::ConnectionAdapters::SchemaStatements::send(:include, InheritsMigration)