Sha256: 9242c37b4dbcb34a64be5f8d34366742c1d024a55fafa6671d4ebe70f6577b1d

Contents?: true

Size: 175 Bytes

Versions: 13

Compression:

Stored size: 175 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cm-admin-0.5.7 config/initializers/active_record_extension.rb
cm-admin-0.5.6 config/initializers/active_record_extension.rb
cm-admin-0.5.5 config/initializers/active_record_extension.rb
cm-admin-0.5.4 config/initializers/active_record_extension.rb
cm-admin-0.5.3 config/initializers/active_record_extension.rb
cm-admin-0.5.2 config/initializers/active_record_extension.rb
cm-admin-0.5.0 config/initializers/active_record_extension.rb
cm-admin-0.4.4 config/initializers/active_record_extension.rb
cm-admin-0.4.3 config/initializers/active_record_extension.rb
cm-admin-0.4.2 config/initializers/active_record_extension.rb
cm-admin-0.4.1 config/initializers/active_record_extension.rb
cm-admin-0.4.0 config/initializers/active_record_extension.rb
cm-admin-0.3.0 config/initializers/active_record_extension.rb