Sha256: 4840f944a2ef2c9bd1acf47ff6ec441e1685c2278f6bf1f1acaed513242e3973
Contents?: true
Size: 449 Bytes
Versions: 7
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true require "store_model/ext/active_model/attributes" require "store_model/ext/active_record/base" module StoreModel # :nodoc: class Railtie < Rails::Railtie # :nodoc: config.to_prepare do |_app| ActiveSupport.on_load(:active_record) do if StoreModel.config.enable_parent_assignment ActiveModel::Attributes.prepend(Attributes) prepend(Base) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems