Module: Potpourri::ActiveRecord::FieldHelpers::ClassMethods

Defined in:
lib/extensions/active_record/field_helpers.rb

Instance Method Summary collapse

Instance Method Details

#id_field(name, options = {}) ⇒ Object



9
10
11
# File 'lib/extensions/active_record/field_helpers.rb', line 9

def id_field(name, options = {})
  IdentifierField.new name, options
end