= private = protected
select_value(sql, name = nil)
Returns a single value from a record
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 18 def select_value(sql, name = nil) if result = select_one(sql, name) result.values.first end end