Skip to content

Commit

Permalink
stack level too deep error
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Jan 21, 2011
1 parent 9e23791 commit b09a0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/also_migrate/migrator.rb
Expand Up @@ -2,7 +2,7 @@ module AlsoMigrate
module Migrator

def self.included(base)
unless base.respond_to?(:migrate_with_also_migrate)
unless base.included_modules.include?(InstanceMethods)
base.send :include, InstanceMethods
base.class_eval do
alias_method :migrate_without_also_migrate, :migrate
Expand Down

0 comments on commit b09a0e3

Please sign in to comment.