module Nuts::Models

   # you JDB connection here
   DB=Sequel.connect "fulanito_connection"

   class Table < Sequel::Model(:table_name)


Or use something AR related, it do not must raise any error. For example,
do not use the 

"< V 1.2" schema...

As long you dont say "Base" in anywhere, campign will not, call their AR
weird DB backend core. and do ont include Moldes in the controller (do no
use include sentence inside the Controllers module)

Main developer say, that "Models" is an empty Module, as long you no call
"Base" in any place...

Thread name: "Re: Problems with sqlite3 and JRuby" 
Mail number: 1 
Date: Mon, Aug 12, 2013 
In reply to: Thomas Seliger 
> I got further yesterday by patching camping so that it uses jdbcsqlite3.
> But I encountered another problem, which was Jruby+activerecord related.
> It worked with native ruby but with Jruby I always got:
>   Nuts::Models is not missing constant Base!
>   Ruby
> /home/tom/.rbenv/versions/jruby-1.7.4/gemsets/ugcmanager/gems/activesupport-
>   4.0.0/lib/active_support/dependencies.rb: in load_missing_constant,
> line 448
> I already thought about ditching AR for sequel, is there an easy (maybe
> someone did it already) way to replace AR with sequel in camping? I
> would like to retain the nice camping model features like db migration.
> Anway thanks for the reply!
> Tom
> Am 12.08.2013 16:54, schrieb låzaro:
> > I suggest you to use sequel instead AR. The AR's support is patethic just
> > rigth now, due the Rails's changes.
> > 
> >
> > 
> > 
> _______________________________________________
> Camping-list mailing list

-------- Warning! ------------
100'000 pelos de escoba fueron
introducidos satisfactoriamente
en su puerto USB.

Camping-list mailing list

Reply via email to