Module: CustomFields
- Defined in:
- lib/custom_fields/version.rb,
lib/custom_fields.rb,
lib/custom_fields/field.rb,
lib/custom_fields/source.rb,
lib/custom_fields/target.rb,
lib/custom_fields/types/date.rb,
lib/custom_fields/types/file.rb,
lib/custom_fields/types/json.rb,
lib/custom_fields/types/tags.rb,
lib/custom_fields/types/text.rb,
lib/custom_fields/types/color.rb,
lib/custom_fields/types/email.rb,
lib/custom_fields/types/float.rb,
lib/custom_fields/types/money.rb,
lib/custom_fields/types/select.rb,
lib/custom_fields/types/string.rb,
lib/custom_fields/types/boolean.rb,
lib/custom_fields/types/default.rb,
lib/custom_fields/types/integer.rb,
lib/custom_fields/target_helpers.rb,
lib/custom_fields/types/has_many.rb,
lib/custom_fields/types/password.rb,
lib/custom_fields/types/date_time.rb,
lib/custom_fields/types/belongs_to.rb,
lib/custom_fields/types/many_to_many.rb,
lib/custom_fields/types/relationship_default.rb
Overview
:nodoc
Defined Under Namespace
Modules: Source, Target, TargetHelpers, Types Classes: Field
Constant Summary collapse
- KLASS_REGEXP =
Regexp to check if a Ruby class has been built by the CustomFields gem
/(.*)([0-9a-fA-F]{24})$/o
- VERSION =
'2.14.0.alpha1'
- @@options =
{ reserved_names: Mongoid.destructive_fields + %w[id _id send class destroy system], default_currency: 'EUR' }
Class Method Summary collapse
Class Method Details
.options ⇒ Object
25 26 27 |
# File 'lib/custom_fields.rb', line 25 def self. @@options end |
.options=(options) ⇒ Object
21 22 23 |
# File 'lib/custom_fields.rb', line 21 def self.() @@options.merge!() end |