> > Actually I need to add 2 more tables and add 2 one-to-many > relationship between the users and those tables. I'm also kinda new to > engines, does that mean I need to copy and paste the entire CE user.rb > to <app root>/app/models/user.rb and make the changes there? >
No. You don't need to duplicate the entire user.rb; you just need to override/add specific methods. So, for example, in your app/models/user.rb: class User < ActiveRecord::Base belongs_to :company belongs_to :club #or whatever your associations are end The Desert gem will take care of mixing your user.rb and CE's user.rb together. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
