How to access Mysql::Result in ActiveRecord?

Viewed 26308

Example:

result = ActiveRecord::Base.connection.execute("select 'ABC'")

How can I get the 'ABC' value from result? Tried result.first without success. Thanks

p.s. Gems:

activerecord (2.3.9)
mysql (2.8.1)

3 Answers
Related