Hi,
I got 2 tables,
Users and Subjects
default scope for subject model is
public function defaultScope() {
return array(
'condition' => 'active = "Y"',
);
}
When i fetch the user table LEFT JOIN with subject table,
Default scope wont work. How to resolve the same.
Regards,
Praveen J.