Yes, but I think you need to have a GroupsUser physical class that
represents your HABTM with the right configuration settings...
marco.rizze...@gmail.com wrote:
I think that the use of 'with' and 'joinTable' attributes is excatly
for tha case where models tables don't respect the cake
Is there someone that can help me about this?
On 2 Feb, 19:02, marco.rizze...@gmail.com marco.rizze...@gmail.com
wrote:
Hi
I'm working on a legacy system , i must to defina an HABTM relation
between User and Group. In User model I have this:
var $hasAndBelongsToMany=array(
I'm not sure, but it looks like the problem is due to the table name
which is in Italian, thus, it does not respect the conventions of
cakephp; have you got a model for GroupsUser as well? I mean a real
class for that model? In that case, you need to make sure that that
class has the right
I think that the use of 'with' and 'joinTable' attributes is excatly
for tha case where models tables don't respect the cake convention
otherwise these attributes aren't useful
On 3 Feb, 15:23, Lorenzo Bettini bett...@dsi.unifi.it wrote:
I'm not sure, but it looks like the problem is due to the
Hi
I'm working on a legacy system , i must to defina an HABTM relation
between User and Group. In User model I have this:
var $hasAndBelongsToMany=array(
'Group' =array(
'className'= 'Group',
'joinTable'=