method

select_one

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MySQL::DatabaseStatements

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

select_one(arel, name = nil, binds = [])
public

Returns a record hash with the column names as keys and column values as values.