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-4.0.0 config/initializers/active_record_extension.rb
cm-admin-3.0.16 config/initializers/active_record_extension.rb
cm-admin-3.0.15 config/initializers/active_record_extension.rb
cm-admin-3.0.14 config/initializers/active_record_extension.rb
cm-admin-3.0.13 config/initializers/active_record_extension.rb
cm-admin-3.0.12 config/initializers/active_record_extension.rb
cm-admin-3.0.11 config/initializers/active_record_extension.rb
cm-admin-3.0.10 config/initializers/active_record_extension.rb
cm-admin-3.0.9 config/initializers/active_record_extension.rb
cm-admin-3.0.8 config/initializers/active_record_extension.rb
cm-admin-3.0.7 config/initializers/active_record_extension.rb
cm-admin-3.0.6 config/initializers/active_record_extension.rb
cm-admin-3.0.5 config/initializers/active_record_extension.rb
cm-admin-3.0.4 config/initializers/active_record_extension.rb
cm-admin-3.0.3 config/initializers/active_record_extension.rb
cm-admin-3.0.2 config/initializers/active_record_extension.rb
cm-admin-3.0.1 config/initializers/active_record_extension.rb
cm-admin-3.0.0 config/initializers/active_record_extension.rb
cm-admin-2.4.6 config/initializers/active_record_extension.rb
cm-admin-2.4.5 config/initializers/active_record_extension.rb