Had a "duh" moment when I was looking through the backtrace; the issue is
with awesome_print as it wants to format the dataset nicely in the console
and sees the to_hash method. Sorry about not looking more into it; didn't
think about when I saw someone else experiencing the same issue.
On Friday, March 6, 2015 at 2:50:25 PM UTC-5, Lucas Viecelli wrote:
>
> 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.