method

attributes_hash

rails latest stable - Class: ActiveRecord::DynamicMatchers::Method

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

attributes_hash(model, method_name)
private

Given that the parameters starts with `_`, the finder needs to use the same parameter name.