I'm trying to get results of an oracle database, but I can not get the 
expected result, is not possible data from a query.
My connection:

 db = Sequel.oracle('db', :user=>'user', :password=>'pass', :host => 
"192.168.10.168", :port=> '1521')

Use connection:
 db[:item]
 output error: #<ArgumentError: wrong number of arguments (0 for 1..2)>

or 

db['select * from item']
output error: #<ArgumentError: wrong number of arguments (0 for 1..2)>

the syntax must be correct,  use in postgresql and it works!

Oracle settings should not be .. because by ActiveRecord, is possible get 
db records

-- 
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.

Reply via email to