sync means when i am inserting record in mysql database simultaneously
i want add/edit/delete same record in postgres database too. means
same operations should get carried out in both DB.
On Dec 24, 6:42 am, Geoff Douglas wrote:
> What do you mean when you say "sync?"
--
Our newest site for th
classic design failure
you shouldn't (ever) use a controller in another controller
design your actions the way that they use the model to get the data
this way you can call these model methods from other controllers, as
well
so it boils down to
$this->Model->ownPosts($uid)
etc
On 25 Dez., 19:1
Hello.
I'm building an app derivated from the cakephp blog tutorial.
On the User profils, I want to display which posts they own (my posts
have a owner_id field) with a foreach.
But to use the classes from my Posts Controller in my UsersController,
I used this code :
App::import('Controller', '
The request has been black-holed
Error: The requested address '/users/login' was not found on this
server.
Stack Trace
#0 /home/www/workutil/lib/Cake/Controller/Component/
SecurityComponent.php(207): SecurityComponent-
>blackHole(Object(UsersController), 'csrf')
#1 [internal function]: SecurityCo