lib/groupify/adapter/mongoid/model.rb in groupify-0.6.3 vs lib/groupify/adapter/mongoid/model.rb in groupify-0.7.0

- old
+ new

@@ -25,10 +25,10 @@ end end end def acts_as_group_member(opts = {}) - @group_class_name = opts[:class_name] || 'Group' + @group_class_name = opts[:group_class_name] || Groupify.group_class_name include Groupify::Mongoid::GroupMember end def acts_as_named_group_member(opts = {}) include Groupify::Mongoid::NamedGroupMember