Hi,
Your model definition looks fine. What does the SQL query output?
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On Thu, Nov 18, 2010 at 11:44 PM, Mariano C. wrote:
> I have a table called supports, with two fields: id and name.
>
> 1 single_s
> 2 double_s
> ...
>
> Supp
I have a table called supports, with two fields: id and name.
1 single_s
2 double_s
...
Support model is:
array('name'));
function getAll()
{
$this->unbindModel(array('hasMany' => array('BooksUser')));
$options = array
(