Skip to content

Instantly share code, notes, and snippets.

@rtirrell
Created June 28, 2010 23:20
Show Gist options
  • Save rtirrell/456534 to your computer and use it in GitHub Desktop.
Save rtirrell/456534 to your computer and use it in GitHub Desktop.
r>> require 'orm'
ArgumentError: +name+ was :key, which cannot be used as a property name since it collides with an existing method
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property.rb:787:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property/numeric.rb:19:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property/integer.rb:15:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dm-validations-1.0.0/lib/dm-validations.rb:41:in `new'
from /Library/Ruby/Gems/1.8/gems/dm-validations-1.0.0/lib/dm-validations.rb:41:in `new'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/model/property.rb:84:in `property'
from ./user_orm.rb:17
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from ./orm.rb:5
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from (irb):1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment