Sha256: b4031580b5f4639ef42c4afc55acc813c4f86c9b21d25eb390c176f67ac3f495

Contents?: true

Size: 185 Bytes

Versions: 167

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

167 entries across 167 versions & 1 rubygems

Version Path
cm-admin-2.0.1 config/initializers/active_record_extension.rb
cm-admin-2.0.0 config/initializers/active_record_extension.rb
cm-admin-1.5.56 config/initializers/active_record_extension.rb
cm-admin-1.5.55 config/initializers/active_record_extension.rb
cm-admin-1.5.54 config/initializers/active_record_extension.rb
cm-admin-1.5.53 config/initializers/active_record_extension.rb
cm-admin-1.5.52 config/initializers/active_record_extension.rb
cm-admin-1.5.51 config/initializers/active_record_extension.rb
cm-admin-1.5.50 config/initializers/active_record_extension.rb
cm-admin-1.5.49 config/initializers/active_record_extension.rb
cm-admin-1.5.48 config/initializers/active_record_extension.rb
cm-admin-1.5.47 config/initializers/active_record_extension.rb
cm-admin-1.5.46 config/initializers/active_record_extension.rb
cm-admin-1.5.45 config/initializers/active_record_extension.rb
cm-admin-1.5.44 config/initializers/active_record_extension.rb
cm-admin-1.5.43 config/initializers/active_record_extension.rb
cm-admin-1.5.42 config/initializers/active_record_extension.rb
cm-admin-1.5.41 config/initializers/active_record_extension.rb
cm-admin-1.5.40 config/initializers/active_record_extension.rb
cm-admin-1.5.39 config/initializers/active_record_extension.rb