On Apr 11, 11:15 am, Michael Klishin <[email protected]>
wrote:
> 2009/4/11 Justin <[email protected]>:
>
> >  I'm gonna go file a bug req on lighthouse about
> > it now.
>
> Please try with dm-core 0.10 (datamapper/dm-core/next at github)
> first, since this is where a major spec rewrite / bug fixing effort is
> happening. It might have already been fixed there, since associations
> code was basically rewritten.
> --
> MK

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)


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