It looks like the 'include' finder option is at least sorta working, but there is no documentation for it, so it's hard to tell...
This seems to work:
'include' => 'blah'
but adding this doesn't:
'conditions' => array('blah.column' => 'something')
That's something you would be able to do in rails. Am I just doing it wrong? Or if this functionality is not implemented, are there plans for it to be in the future?
Either way, you might want to add some documentation for this.
Thanks
Kien LaTue Jul 06 22:31:39 -0400 2010
Correct that is not currently supported. I created http://github.com/kla/php-activerecord/issues/issue/62 for this
Subject: documentation for include finder option
It looks like the 'include' finder option is at least sorta working, but there is no documentation for it, so it's hard to tell...
This seems to work:
'include' => 'blah'
but adding this doesn't:
'conditions' => array('blah.column' => 'something')
That's something you would be able to do in rails. Am I just doing it wrong? Or if this functionality is not implemented, are there plans for it to be in the future?
Either way, you might want to add some documentation for this.
Thanks