Sha256: b4031580b5f4639ef42c4afc55acc813c4f86c9b21d25eb390c176f67ac3f495

Contents?: true

Size: 185 Bytes

Versions: 166

Compression:

Stored size: 185 Bytes

Contents

ActiveSupport.on_load(:active_record) do
  module ActiveRecord
    class Base
      def self.cm_admin(&block)
        CmAdmin.initialize_model(self, &block)
      end
    end
  end
end

Version data entries

166 entries across 166 versions & 1 rubygems

Version Path
cm-admin-2.4.4 config/initializers/active_record_extension.rb
cm-admin-2.4.3 config/initializers/active_record_extension.rb
cm-admin-2.4.2 config/initializers/active_record_extension.rb
cm-admin-2.4.1 config/initializers/active_record_extension.rb
cm-admin-2.4.0 config/initializers/active_record_extension.rb
cm-admin-2.3.4 config/initializers/active_record_extension.rb
cm-admin-2.3.3 config/initializers/active_record_extension.rb
cm-admin-2.3.2 config/initializers/active_record_extension.rb
cm-admin-2.3.1 config/initializers/active_record_extension.rb
cm-admin-2.3.0 config/initializers/active_record_extension.rb
cm-admin-2.2.1 config/initializers/active_record_extension.rb
cm-admin-2.2.0 config/initializers/active_record_extension.rb
cm-admin-2.1.5 config/initializers/active_record_extension.rb
cm-admin-2.1.4 config/initializers/active_record_extension.rb
cm-admin-2.1.3 config/initializers/active_record_extension.rb
cm-admin-2.1.2 config/initializers/active_record_extension.rb
cm-admin-2.1.1 config/initializers/active_record_extension.rb
cm-admin-2.1.0 config/initializers/active_record_extension.rb
cm-admin-2.0.2 config/initializers/active_record_extension.rb
cm-admin-2.0.1 config/initializers/active_record_extension.rb