Hello Jordan,
Your commit at [1] looks great. I have tried to integrate it, but I ran into :
1) Error:
test_find_expressions(StorageTest):
NoMethodError: undefined method `aggregate' for Ruote::Dm::DmExpression:Class
/Users/jmettraux/.rvm/gems/ruby/1.9.1/gems/dm-core-0.10.0/lib/dm-core/model/relationship.rb:330:in
`method_missing'
/Users/jmettraux/.rvm/gems/ruby/1.9.1/gems/dm-core-0.10.0/lib/dm-core/model/property.rb:242:in
`method_missing'
/Users/jmettraux/w/ruote-dm/lib/ruote/dm/storage/dm_storage.rb:120:in
`find_expressions'
/Users/jmettraux/w/ruote-dm/test/ut_0_storage.rb:73:in
`test_find_expressions'
I then added "require 'dm-aggregates'" and installed dm-aggregates,
getting upgrade to 0.10.1 (though do_mysql is not yet available, stuck
at 0.10.0).
The error is now :
1) Error:
test_find_expressions(StorageTest):
NoMethodError: undefined method `aggregate' for
#<DataMapper::Adapters::MysqlAdapter:0x0000010151c9b8>
/Users/jmettraux/.rvm/gems/ruby/1.9.1/gems/dm-aggregates-0.10.1/lib/dm-aggregates/repository.rb:5:in
`aggregate'
/Users/jmettraux/.rvm/gems/ruby/1.9.1/gems/dm-aggregates-0.10.1/lib/dm-aggregates/aggregate_functions.rb:164:in
`aggregate'
/Users/jmettraux/w/ruote-dm/lib/ruote/dm/storage/dm_storage.rb:121:in
`find_expressions'
/Users/jmettraux/w/ruote-dm/test/ut_0_storage.rb:73:in
`test_find_expressions'
I have taken a look at do_mysql [2] and it seems it hasn't moved since
0.10.0 (16 september).
I will wait until there is mysql support before integrating your patch :-(
[1]
http://github.com/jpr5/ruote-dm/commit/98ec146e554411aa57a3148fb32edc5beccb11c7
[2] http://github.com/datamapper/do/tree/master/do_mysql/
Many thanks !
--
John Mettraux - http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---