Hi,

I've just updated to dm 1.2 and now get the following error:

Card.create("title"=>"Hoppy Birthday!", "message"=>"Hello")
NoMethodError: undefined method `include?' for nil:NilClass
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/resource.rb:332:in `block in attributes='
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/resource.rb:329:in `each'
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/resource.rb:329:in `attributes='
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/resource.rb:748:in `initialize'
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/model.rb:716:in `new'
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/model.rb:716:in `_create'
        from /home/daz/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.2.0/lib/dm-
core/model.rb:457:in `create'
        from (irb):16
        from /home/daz/.rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `<main>'

This worked previously. Any ideas why it's not working now?

cheers,

DAZ

-- 
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