Sha256: d460e700ef86a7edbd983b5e146224ae879764e5a36349cc5fbe538c3ab57769

Contents?: true

Size: 264 Bytes

Versions: 12

Compression:

Stored size: 264 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
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
modalfields-1.2.0 lib/modalfields/standardfields.rb
modalfields-1.1.11 lib/modalfields/standardfields.rb
modalfields-1.1.10 lib/modalfields/standardfields.rb
modalfields-1.1.9 lib/modalfields/standardfields.rb
modalfields-1.1.8 lib/modalfields/standardfields.rb
modalfields-1.1.7 lib/modalfields/standardfields.rb
modalfields-1.1.6 lib/modalfields/standardfields.rb
modalfields-1.1.5 lib/modalfields/standardfields.rb
modalfields-1.1.4 lib/modalfields/standardfields.rb
modalfields-1.1.3 lib/modalfields/standardfields.rb
modalfields-1.1.2 lib/modalfields/standardfields.rb
modalfields-1.1.1 lib/modalfields/standardfields.rb