Class | DataMapper::Type |
In: |
lib/dm-core/type.rb
|
Parent: | Object |
PROPERTY_OPTIONS | = | [ :accessor, :reader, :writer, :lazy, :default, :key, :serial, :field, :size, :length, :format, :index, :unique_index, :auto_validation, :validates, :unique, :precision, :scale, :min, :max, :allow_nil, :allow_blank, :required | Until cooperation of Property and Type does not change, each must have a separate list of options, because plugins (ex.: dm-validations) may want to extend one or the other, and expects no side effects |