Open
Description
Currently, conditions
in an association have to be SQL formatted, and the "hash" array syntax doesn't work.
$has_many = [
['available_agencies',
'class_name' => 'Agency',
'foreign_key' => 'category_id',
// 'conditions' => ['enabled' => true] // doesn't work
'conditions' => ['enabled = ?', true] // works
]
];