My Classes:
http://paste.pocoo.org/show/c9o1rp1YQHp7uSv9qSbg/

Error: (at loading)
NoMethodError: undefined method `name' for nil:NilClass
        from /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/
associations/relationship_chain.rb:49:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/
associations/one_to_many.rb:56:in `new'
        from /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/
associations/one_to_many.rb:56:in `setup'
        from /usr/lib/ruby/gems/1.8/gems/dm-core-0.9.11/lib/dm-core/
associations.rb:122:in `has'
        from ./game.rb:23
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from (irb):56
        from (irb):56:in `each'
        from (irb):56
        from (irb):56:in `chdir'
        from (irb):56

I did load with:
Dir.entries('.').select{|name| name =~ /^.*?\.rb$/}.each{|file|
require file}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to