hi all, I have community_engine_groups installed with my app. However, I ran in this when I visit the index of my app:
NoMethodError (undefined method `class_name' for nil:NilClass): (eval):3:in `has_many' vendor/plugins/community_engine_groups/app/models/user.rb:5 desert (0.5.3) lib/desert/rails/dependencies.rb:67:in `define_constant_from_file' checked the file " vendor/plugins/community_engine_groups/app/models/user.rb" on line 5,it reads this: has_many :groups_as_owner, :through => :group_memberships, :conditions => ["owner = ?", true], :dependent => :destroy what can I do to fix this? I'm using rails 2.3.5 with ruby 1.8.7. database migrate is ok. thx in advance Han 2010/1/23 Michael Hollins <[email protected]> > > On 23/01/2010, at 8:47 AM, Levi Rosol wrote: > > > I saw your email but forgot to reply :) > > No problems. Thanks Levi. I will take a look. > > -- > 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]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > -- It's 10% luck 20% skill 15% concentrated power of will 5% pleasure 50% pain And a 100% reason to remember the name -- 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.
