Sha256: c2669a48840832d016df0536ceb9c420fb73d81f99f7ef3cfb4a366ec16d1e7f

Contents?: true

Size: 897 Bytes

Versions: 4

Compression:

Stored size: 897 Bytes

Contents

$:.unshift File.expand_path(File.dirname(__FILE__))

require 'active_support'
require 'carrierwave/orm/mongoid'

require 'custom_fields/extensions/mongoid/document'
require 'custom_fields/extensions/mongoid/associations/proxy'
require 'custom_fields/extensions/mongoid/associations/has_many_related'
require 'custom_fields/extensions/mongoid/associations/embeds_many'
require 'custom_fields/types/default'
require 'custom_fields/types/string'
require 'custom_fields/types/text'
require 'custom_fields/types/category'
require 'custom_fields/types/boolean'
require 'custom_fields/types/date'
require 'custom_fields/types/file'
require 'custom_fields/proxy_class_enabler'
require 'custom_fields/field'
require 'custom_fields/custom_fields_for'

module Mongoid
  module CustomFields  
    extend ActiveSupport::Concern
    included do
      include ::CustomFields::CustomFieldsFor
    end  
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotive_cms-0.0.3.3 vendor/plugins/custom_fields/lib/custom_fields.rb
locomotive_cms-0.0.3.1 vendor/plugins/custom_fields/lib/custom_fields.rb
locomotive_cms-0.0.2.9 vendor/plugins/custom_fields/lib/custom_fields.rb
locomotive_cms-0.0.2.8 vendor/plugins/custom_fields/lib/custom_fields.rb