User < ActiveRecord::Base
has_many :groupsGroup < ActiveRecord::Base
belongs_to :userI'm trying do do a look up to see if a particular user is already part
of a group.
Use the user has_many groups association to check if a user has any
groups.
user = User.find_by_email(email)
user.groups.blank?
Aaron