engine/vendor/plugins/custom_fields/lib/custom_fields.rb
2010-05-20 01:42:19 +02:00

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