Sha256: 2997e6347ca16044abe06a52061bee903385b430bcf24b37f2c0d099e5863fef

Contents?: true

Size: 317 Bytes

Versions: 19

Compression:

Stored size: 317 Bytes

Contents

# Define built-in column types, with default values for valid attributes
ModalFields.define do
  string :limit=>255
  text :limit=>nil
  integer :limit=>nil
  float
  decimal :scale=>nil, :precision=>nil
  datetime
  time
  date
  binary :limit=>nil
  boolean
  timestamp
end

ModalFields.alias :timestamp=>:datetime

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
modalfields-1.5.7 lib/modalfields/standardfields.rb
modalfields-1.5.6 lib/modalfields/standardfields.rb
modalfields-1.5.5 lib/modalfields/standardfields.rb
modalfields-1.5.4 lib/modalfields/standardfields.rb
modalfields-1.5.3 lib/modalfields/standardfields.rb
modalfields-1.5.2 lib/modalfields/standardfields.rb
modalfields-1.5.1 lib/modalfields/standardfields.rb
modalfields-1.5.0 lib/modalfields/standardfields.rb
modalfields-1.4.7 lib/modalfields/standardfields.rb
modalfields-1.4.6 lib/modalfields/standardfields.rb
modalfields-1.4.5 lib/modalfields/standardfields.rb
modalfields-1.4.4 lib/modalfields/standardfields.rb
modalfields-1.4.3 lib/modalfields/standardfields.rb
modalfields-1.4.2 lib/modalfields/standardfields.rb
modalfields-1.4.1 lib/modalfields/standardfields.rb
modalfields-1.4.0 lib/modalfields/standardfields.rb
modalfields-1.3.0 lib/modalfields/standardfields.rb
modalfields-1.2.2 lib/modalfields/standardfields.rb
modalfields-1.2.1 lib/modalfields/standardfields.rb