Sha256: 0b232cba419cf4ab06708a90d874243ead30647bb0226b2628183cfc1bf3bc77
Contents?: true
Size: 379 Bytes
Versions: 30
Compression:
Stored size: 379 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 ActiveModel::Attributes.prepend(Attributes) prepend(Base) end end end end
Version data entries
30 entries across 30 versions & 1 rubygems