Sorry, wrong typed in gist, but in my folders it's ok.... ...but it stil does'nt load my behavior :S
Matt93. On 5 Feb, 10:06, Tilen Majerle <tilen.maje...@gmail.com> wrote: > github gist says that behavior is located in > app\Model\Beahvior\OwnableBehavior.php > #<https://gist.github.com/1744216#file_app%5Cmodel%5Cbeahvior%5Cownable...> > > You have Be*ah*vior instead of Be*ha*vior :) > > -- > Lep pozdrav, Tilen Majerlehttp://majerle.eu > > 2012/2/5 Mattia Manzati <manzat...@gmail.com> > > > > > > > > > Hi all! I have a problem when creating my own Behaviors. I have > > attached it with actAs, but it seems that it is not attached to my > > model because it does'nt trigger neither a print_r() or modify the SQL > > Query... My Code:https://gist.github.com/1744216 > > > (default) 2 queries took 0 ms Nr Query Error Affected > > Num. rows Took > > (ms) > > 1 SELECT `Anime`.`id`, `Anime`.`user_id`, `Anime`.`approved_by`, > > `Anime`.`language_id`, `Anime`.`name`, `Anime`.`created`, > > `Anime`.`modified`, `Language`.`id`, `Language`.`name`, > > `Language`.`flag` FROM `my_im93`.`animes` AS `Anime` LEFT JOIN > > `my_im93`.`languages` AS `Language` ON (`Anime`.`language_id` = > > `Language`.`id`) WHERE 1 = 1 LIMIT 20 0 0 0 > > 2 SELECT COUNT(*) AS `count` FROM `my_im93`.`animes` AS `Anime` LEFT > > JOIN `my_im93`.`languages` AS `Language` ON (`Anime`.`language_id` = > > `Language`.`id`) WHERE 1 = 1 1 1 0 > > (forum) 0 query took ms Nr Query Error Affected Num. rows > > Took (ms) > > > As you can see queries are not modified :S > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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