aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/table_metadata.rb
diff options
context:
space:
mode:
authorlulalala <mark@goodlife.tw>2018-03-26 13:09:59 +0800
committerlulalala <mark@goodlife.tw>2019-03-31 22:59:12 +0800
commitea77205a9ff71ebd0dc7cf29e598ef126c9807f5 (patch)
tree88ced0b2f6e744fe4aef87faa2708d55cbf5bd9f /activerecord/lib/active_record/table_metadata.rb
parentd9011e39357300fe78720227af4c13b4bc4ac4dd (diff)
downloadrails-ea77205a9ff71ebd0dc7cf29e598ef126c9807f5.tar.gz
rails-ea77205a9ff71ebd0dc7cf29e598ef126c9807f5.tar.bz2
rails-ea77205a9ff71ebd0dc7cf29e598ef126c9807f5.zip
Add convenience method group_by_attribute
Many operations need grouping of errors by attributes, e.g. ActiveRecord::AutosaveAssociation#association_valid? Refactor other methods using group_by_attribute
Diffstat (limited to 'activerecord/lib/active_record/table_metadata.rb')
0 files changed, 0 insertions, 0 deletions