On Thu, Oct 22, 2009 at 11:37 AM, Rafael Roque
<[email protected]> wrote:
>
> It should return me two integers,but it´s returning "1".

OK, sorry -- I don't know anything about Oracle procedures, but if I
execute a query using ActiveRecord::Base.connection.execute(sql)
it returns a resultset, e.g.  (via script/console)

>> result = ActiveRecord::Base.connection.execute("select 1")
=> #<Mysql::Result:0x1fe43a8>
>> result.fetch_row
=> ["1"]
>>

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to