@connection = ActiveRecord::Base.establish_connection(
:adapter => "mysql2",
:host => "localhost",
:database => "siteconfig_development",
:username => "root",
:password => "root123"
)
sql = 'SELECT * from users'
@success_data = @connection.connection.execute(sql);
如何在不迭代的情况下从@success_data 获取最后一条记录?