I am issuing an SQL statement in console:
> sql = "SELECT flavour from Libation where id=8675309"
> result = ActiveRecord::Base.connection.execute(sql)
=> true
Am using the oracle enhanced adapter, and wonder why I only get true. I was expecting something like "mango". I have tried many things and no luck.
Use select_all instead of execute to fetch results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With