I have two tables
big (id, bigs_name, smallid),
small(id, smallguys_name)
therefore two models - big and small
i have used the following relatio
You should like this in big model for relation to small from big,
'has_small' => array(self::BELONGS_TO, 'small', 'smallid');