Thank you very much for both answers.
There seems to be some problems with time zones when querying time with
sequel and I kinda like more AR manipulating with fields as methods contrary
to sequel as hashes.
I ended up like this (althow not using sequel).
class Orakl < ActiveRecord::Base
establish_connection(:oracle)
def self.[](table)
self.table_name = table.to_s
self
end
end
Which I can call like: Orakl[:tablename].where( ......
by
TheR
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.