Sha256: e7949893120c02fade9ac420ac9beb2eeabe8b21c64fb2cf8efffc11fafbc870
Contents?: true
Size: 480 Bytes
Versions: 21
Compression:
Stored size: 480 Bytes
Contents
=begin rdoc Access the <tt>has_many_polymorphs_options</tt> hash in your Rails::Initializer.run#after_initialize block if you need to modify the behavior of Rails::Initializer::HasManyPolymorphsAutoload. =end module Rails #:nodoc: class Configuration def has_many_polymorphs_options ::HasManyPolymorphs.options end def has_many_polymorphs_options=(hash) ::HasManyPolymorphs.options = HashWithIndifferentAccess.new(hash) end end end
Version data entries
21 entries across 21 versions & 4 rubygems