17 lines
477 B
Ruby
17 lines
477 B
Ruby
|
$:.unshift File.expand_path(File.dirname(__FILE__))
|
||
|
|
||
|
require 'custom_fields/extensions/mongoid/associations/options'
|
||
|
require 'custom_fields/extensions/mongoid/associations/embeds_many'
|
||
|
require 'custom_fields/extensions/mongoid/document'
|
||
|
require 'custom_fields/custom_fields_for'
|
||
|
|
||
|
module Mongoid
|
||
|
module CustomFields
|
||
|
extend ActiveSupport::Concern
|
||
|
included do
|
||
|
puts "loading from CustomFieldsFor"
|
||
|
include ::CustomFields::CustomFieldsFor
|
||
|
end
|
||
|
end
|
||
|
end
|