I have an ‘Inmueble’ table with an ‘id_propietario’ fk; after generating the model I got this line:
'idPropietario' => array(self::BELONGS_TO, 'Propietario', 'id_propietario'),
Which leads to having to access the related object like this:
$propietario = $inmueble->idPropietario;
I also have a ‘unidads’ property when the correct would’ve been ‘unidades’.
Is there any way to customize the inflector?