2009/4/11 Justin <[email protected]>: > I tried installing dm 0.10.0, and it went well, but when I run my app > it fails on > has n, :topics, :order => [:updated_at.desc] > with the error > undefined method `desc' for :updated_at:Symbol - (NoMethodError) > > If i comment that :order => part out it then moves on and fails with > > DataMapper::Resource.descendants is deprecated, use > DataMapper::Model.descendants instead > DataMapper::PropertySet#slice is deprecated, use > DataMapper::PropertySet#values_at instead > /usr/local/lib/ruby/gems/1.8/gems/dm-core-0.10.0/lib/dm-core/ > property_set.rb:123:in `initialize': undefined method `name' for > nil:NilClass (NoMethodError)
this is probably because some -more gems are not yet adapted to -core/next. This is one of the reasons why 0.10 gem is not yet released or considered finished. If it is possible to reproduce a problem without ordering or aggregates, with just 2 models having an association, try it on -core/next. But go ahead and report a problem to the Lighthouse anyway. -- MK --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
