method
column_for
column_for(field)
private
Hide source
# File activerecord/lib/active_record/calculations.rb, line 214 def column_for(field) field_name = field.to_s.split('.').last columns.detect { |c| c.name.to_s == field_name } end