On Jun 14, 2006, at 12:01 PM, Garth Braithwaite wrote:
> > I have a users table with a list of users and info about each, one > record is usertype_id which is a foreign key that relates to the > usertypes table that contains id, and title, which is just a > description of the type of user it is. > I tried a few associations, but I am having some troubles. I want to > be able to have a list of the usertypes available for adding a new > user, and using hasOne on the user model, and that works great > (http://www.garthbraithwaite.com/blog/users/add), Doesn't seem so right now, at least. I see a bunch of warnings. Maybe paste us the two models and their tables so we can see what's going on. -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
