Class: Rails::Initializer

Inherits:
Object show all
Defined in:
lib/has_many_polymorphs/autoload.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#after_initialize_with_autoloadObject

Make sure it gets loaded in the console, tests, and migrations



59
60
61
62
# File 'lib/has_many_polymorphs/autoload.rb', line 59

def after_initialize_with_autoload 
  after_initialize_without_autoload
  HasManyPolymorphs.autoload
end