Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update app/models/group.rb

  • Loading branch information...
commit 98eabd15cf414c737bcefc6432c1864e4b2e491d 1 parent 14f2b04
@powerchurch powerchurch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/group.rb
View
2  app/models/group.rb
@@ -129,7 +129,7 @@ def update_membership_associations(new_people)
self.people.reload
(new_people - self.people).each { |p| memberships.create!(:person => p, :auto => true) }
ids_to_delete = (self.people - new_people).each { |p| p.id }
- Membership.delete_all(["group_id = ? and person_id in (?) and auto = ?", id, ids_to_delete, true]I)
+ Membership.delete_all(["group_id = ? and person_id in (?) and auto = ?", id, ids_to_delete, true])
end
def can_send?(person)
Please sign in to comment.
Something went wrong with that request. Please try again.