ruby on rails - What DataMapper plugin gives :null property option -
I am trying to customize a piece of code containing:
Property: Email, String,: Index = & gt; True,: Cord = & gt; Wrong, length = & gt; In the model definition, I get this error: Logic: option: blank /usr/lib/ruby/gems/1.8/gems/ Dm-core-0.10.2 / lib / dm-core / propertiesRb: 901: /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/property.rb : 811: In 'assert_valid_options' in 'Start' /usr/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/model/property.rb:51:in/your 'New' 1.8 / gemstone / DM-Core -0 0.10.2 / BbD / DM-Core / Model / Property from / lib / ruby / jems /. RB: 51: In `property '
So I think I remember the Datamapar plugin.
I do not know of any Datamapar plugin that is : null
option .
On the older versions of the DataMaper, you can see the : nullable = & gt; Want to use. False
. The most recent datamaker (0.10.2) provides clear syntax : required => True
. The second option is still supported, but it has been deprecated.
Comments
Post a Comment