On Fri, Mar 04, 2011 at 06:37:26AM -0800, Eric wrote:
> 
> 2.) The problem with the workitems view seems to be in paging
> 
> Consider
> 
>    RuoteKit.engine.storage_participant.query({'limit'=>100,
> 'skip'=>0}) => []
> 
> does not return any workitems where:
> 
> while
>     RuoteKit.engine.storage_participant.query({})
> 
> returns the valid workitems

Hello Eric,

thanks a lot for this piece of information, I could reproduce and fix the issue.

  
https://github.com/jmettraux/ruote/commit/9e960f1a8b9ede4233d3e7c2efc2cda6a742c69f
  
https://github.com/jmettraux/ruote-sequel/commit/38bba4cffb53a52aefd23e7bc3cbce544c0d22a1
  
https://github.com/jmettraux/ruote-dm/commit/19119de659f5d7f534901921379f863340aaa771
  
https://github.com/jmettraux/ruote-couch/commit/c95d3d81c7e7bab26f274c17b364b8265c27cc8c


> 3.) on the connection string for sequal if you are using rails you can
> do something like this:
> 
>   db = HashWithIndifferentAccess.new
>   db.merge!(ActiveRecord::Base.configurations[Rails.env])
>   db.merge!(:user=>db[:user_name)
>   sequel_connection = Sequel.connect(db)
> 
> Which lets you your existing db configuration

OK, I'll trust Rails users to re-invent this technique.


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

Reply via email to