Sha256: 676f65bde2e6b350a026eec3c3308dcb37b848bc5e179ed57e6ed93779bd93e5
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 Bytes
Contents
require 'active_record' require 'has_many_polymorphs/reflection' require 'has_many_polymorphs/association' require 'has_many_polymorphs/class_methods' require 'has_many_polymorphs/support_methods' require 'has_many_polymorphs/base' class ActiveRecord::Base extend ActiveRecord::Associations::PolymorphicClassMethods end if ENV['HMP_DEBUG'] or (ENV['RAILS_ENV'] =~ /development|test/ and ENV['USER'] == 'eweaver') _logger_warn "has_many_polymorphs: debug mode enabled" require 'has_many_polymorphs/debugging_tools' end if defined? Rails and RAILS_ENV and RAILS_ROOT _logger_warn "has_many_polymorphs: Rails environment detected" require 'has_many_polymorphs/dependencies' require 'has_many_polymorphs/autoload' end _logger_debug "has_many_polymorphs: loaded ok"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_many_polymorphs-2.9 | lib/has_many_polymorphs.rb |