No, a PostsController will try to load a table class called PostsTable automagically
/thomas On 13 Mar 2014, at 21:29, Christopher Castro <ch...@quickapps.es> wrote: > Hi, > > I'm taking a look to the new ORM, and I've noticed there is no longer > Controller::$uses. > we have to use loadModel() instead? No more model autoloading? :( > > Great work btw > > > 2014-03-13 16:11 GMT+01:00 José Lorenzo <jose....@gmail.com>: > Sorry, I made a mistake in my previous paste, This is a new version > http://bin.cakephp.org/saved/120567 > > There was another thread with the same topic here in the group, you may want > to check it to know how it is supposed to work if you create your Entity > class. > > > On Thursday, March 13, 2014 4:09:36 PM UTC+1, José Lorenzo wrote: > Yeah, you need an entity class or do the following: > > http://bin.cakephp.org/saved/120566 > > Check the modified lines in the add() method. This is just a workaround if > you don't want a custom entity. We hope to make this easier and more clear in > the future. > > On Thursday, March 13, 2014 4:03:08 PM UTC+1, André Luis wrote: > My Controller: http://bin.cakephp.org/saved/120565 > I didnt create any entity yet, but the index and view are working very well. > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Christopher Castro. > Analista Programador Senior PHP/MySQL > Pamplona, España > QuickApps CMS > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.