I have one user table like: users (id, username, etc) sample: 1, MA-foo 2, MA-bar 3, AA-foo
The username represents the group in which they're in (in this case, MA and AA). Saving the group name in another table might not be the right way as the system isn't represented so. So, I have tried to create another "stub" model Group from users table. I have tried to represent the association with finderQuery, conditions, foreignKey; but all are futile. As I see the major setback is with defining foreignKey. Does any experts have any solution for this? I still believe that it might be possible to create more than one models from single table. TIA for any help. -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---