Here\'s the deal, i h开发者_运维百科ave 2 models: Rus and Audios. I want to use records from Audios in Rus controller, so i go and type in associations like this:
I am currently trying to bake models for a project in CakePHP. I have set up my database tables and baked my skeleton project. I then execute the following via terminal:
I used the cake bake model all, with开发者_如何学C my db (cakephp 1.3) which created all models with associations, but no validation rules were created. why is that?In your Database you need to remove
Just learning CakePHP and its Bake feature. I tried to run ../cake/console/cake bake from the app folder, but I get the error
I\'ve used CakePHP a few times before but this is the first time I\'m trying out Bake. On my Mac I\'m running CakePHP 1.3, PHP5.3.3, and MySQL. I\'ve created my database tables and the app connects to
I\'m getting Parse error: syntax error, unexpected T_STRING while i cake bake model because the model generated has single quotes not closed
Hey I have two models User and City, where a user belongs to a city and a city has many users. On the city table I have city_id and city_name.
I have just created an application using cake b开发者_高级运维ake and when I run it I get the screen that says \'Sweet, myApp got baked\' but there are no styling on it and at the bottom I get the fol
I\'m using the \"cake\" console in cakephp on Mac OS X 10.6.2. How do I set up the environment variable (or PATH?) so that all I need to type in terminal is \"cake\"... as opposed to the full path to
I\'ve just downloaded the newest beta of CakePHP 1.3 for a new pr开发者_如何学运维oject (not a serious one, so no worries with the beta, still learning stuff,