Below what i've done

$connection = &ConnectionManager::create('acl',$this->config);
$aroNode = &ClassRegistry::init('Aro');
$aroNode->setDataSource('acl');

I've created one datasource at runtime with database and schema that i
want to work, and i created AroModel and modify its datasource. But,
when the entry is saved, it doesn't work. SQL created by cake is the
following:

INSERT INTO "aros" ("parent_id", "model", "foreign_key", "lft",
"rght") VALUES (DEFAULT, 'Group', '9', '1', '2')

In any moment schemas' name is used. How could cake to know where to
save?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to