method
extract_record
v2.1.0 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::ClassMethods::JoinDependency::JoinBase
extract_record(row)
public
Hide source
# File activerecord/lib/active_record/associations.rb, line 1764 def extract_record(row) column_names_with_alias.inject({}){|record, (cn, an)| record[cn] = row[an]; record} end