Re: DB field i18n - where I wrong?

2010-11-21 Thread Amit Badkas
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

DB field i18n - where I wrong?

2010-11-18 Thread Mariano C.
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 (