>From a normalized standpoint, you either have no need of the "reviews" table and should move the comments field into the "cars_users" table,
OR If you need the comments, shouldn't they be linked to the individual id of the "cars_users" table itself? so cars_users=>id to users for user comments? On Dec 27, 12:05 am, InYan <webodis...@gmail.com> wrote: > Thank you. All > fixed:http://img-fotki.yandex.ru/get/5501/web-odissey.0/0_562bf_ef26078b_orig > The code in the model is > correct(?):http://img-fotki.yandex.ru/get/5406/web-odissey.0/0_562c0_dce1a531_orig > > On 26 дек, 22:16, Ryan Schmidt <google-2...@ryandesign.com> wrote: > > > On Dec 26, 2010, at 11:34, InYan wrote: > > > > I am a novice cake. Please help. My problem is drawn in the > > > picture(http://img-kiev.fotki.yandex.ru/get/4907/web-odissey.0/0_5625e_4d94e1... > > > ). I do not know how to correctly identify the table in compliance > > > with the convention of cake. > > > I think you can name the table anything you want. "reviews" for example. > > > The table you've named "users_cars" should I believe be named "cars_users" > > (the table names should be listed in alphabetical order). Though if you > > want additional information in this table, as you've indicated, you may > > want to name it something different, like "sales" and manage the relation > > ships yourself, as you will in the "reviews" table. > > > You've misspelled a number of column names ("title", "nickname"). Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en