Sha256: 625105a81e5f5a9d93098261455cb5912ba136db1e50fbb0dc51113eedb4beed

Contents?: true

Size: 567 Bytes

Versions: 15

Compression:

Stored size: 567 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------

#
# Register CustomFields when Field class is loaded
ActiveSupport.on_load(:fat_free_crm_field) do # self == Field
  register(as: 'date_pair', klass: 'CustomFieldDatePair', type: 'date')
  register(as: 'datetime_pair', klass: 'CustomFieldDatetimePair', type: 'timestamp')
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.15.2 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.16.4 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.14.1 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.15.1 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.16.3 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.16.2 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.16.1 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.16.0 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.15.0 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.15.0.beta.2 lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.15.0.beta lib/fat_free_crm/custom_fields.rb
fat_free_crm-0.14.0 lib/fat_free_crm/custom_fields.rb
reduced_fat_crm-0.15.0.beta lib/fat_free_crm/custom_fields.rb
reduced_fat_crm-0.14.0 lib/fat_free_crm/custom_fields.rb