On Apr 12, 4:31 pm, John Mettraux <[email protected]> wrote: > On Tue, Apr 12, 2011 at 12:01:33PM -0700, Pedro Teixeira wrote: > > > I'm struggling to run ruote with sequel-storage. Has any one seen the > > error below? > > I've created a table as documented. It's probably sequel related, but > > would appreciated any hint. > > > /gems/sequel-3.20.0/lib/sequel/dataset/sql.rb:721:in `literal_other': > > can't express #<MetaWhere::Column:0x7fdea741e7a8 @column=:ide, > > @method=:asc> as a SQL literal (Sequel::Error) > > (...) > > from /gems/sequel-3.20.0/lib/sequel/dataset/actions.rb:123:in `each' > > from /gems/sequel-3.20.0/lib/sequel/dataset/actions.rb:50:in `all' > > from /gems/ruote-sequel-2.2.0/lib/ruote/sequel/storage.rb:178:in > > `get_many' > > Hello Pedro, > > which database (and version) and ruby version are you using ? > > I've tested ruote-sequel with sequel (3.20.0, same as you), postgres 8.4.2, > mysql 5.1.49, gems : pg 0.10.1 and mysql 2.8.1. Rubies are 1.8.7-p249 and > 1.9.2-p180. > > How can we reproduce the issue ? Any error when creating the table ?
Hi John, The error occurs when adding the metawhere dependency (gem 'meta_where') to the runtime. for now, it seems they cannot co-exist. It's a pity that opening classes cannot be restricted to namespaces :/ will seek for a workaround in the sequel and meta_where groups. best regards, Pedro -- 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
