app/models/membership.rb
# Update the db with one side of an accepted connection request.
Update the db with one side of an accepted connection request.
Update the db with one side of an accepted connection request .
def accept_one_side(user, group, accepted_at)
      mem = mem(user, group)
      mem.update_attributes!(:status => ACCEPTED,
                             :accepted_at => accepted_at, 
                             :role => "member")
    end
def accept_one_side ( user , group , accepted_at ) mem = mem ( user , group ) mem . update_attributes! ( :status => ACCEPTED , :accepted_at => accepted_at , :role => "member" ) end
Update the db with one side of an accepted connection request.
Update the db with one side of an accepted connection request .
user
<not_specific>
group
<not_specific>
accepted_at
<not_specific>