Skip to content

Instantly share code, notes, and snippets.

@rtirrell
Created June 28, 2010 23:17
Show Gist options
  • Save rtirrell/456531 to your computer and use it in GitHub Desktop.
Save rtirrell/456531 to your computer and use it in GitHub Desktop.
>> require 'orm'
NoMethodError: undefined method `name' for nil:NilClass
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property_set.rb:161:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property_set.rb:161:in `map'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/property_set.rb:161:in `initialize'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/associations/relationship.rb:256:in `new'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/associations/relationship.rb:256:in `parent_key'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/associations/many_to_one.rb:52:in `child_key'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:332:in `finalize_model'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:331:in `each'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:331:in `finalize_model'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:309:in `finalize'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/model/descendant_set.rb:33:in `each'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core/model/descendant_set.rb:33:in `each'
from /Library/Ruby/Gems/1.8/gems/dm-core-1.0.0/lib/dm-core.rb:308:in `finalize'
from ./orm.rb:16
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