diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2017-03-01 22:33:11 +0100 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2017-03-01 22:33:11 +0100 |
commit | bee4c8309a13433f0674bd4b5707cad3b5e3d754 (patch) | |
tree | 098ba697b13e989cde6b7b28d47a9a39e2f7750b /app | |
parent | c0c77e5f1939245c5b2327df6a9efb67749a33b1 (diff) | |
download | ecs-bee4c8309a13433f0674bd4b5707cad3b5e3d754.tar.gz ecs-bee4c8309a13433f0674bd4b5707cad3b5e3d754.zip |
Delete named_scope for_subparticipants.
Diffstat (limited to 'app')
-rw-r--r-- | app/models/participant.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/participant.rb b/app/models/participant.rb index f2ac5d4..3f32945 100644 --- a/app/models/participant.rb +++ b/app/models/participant.rb @@ -51,7 +51,6 @@ class Participant < ActiveRecord::Base named_scope :for_community, lambda { |community| { :joins => [:memberships => :community], :conditions => { :communities => { :id => community.id }}}} - named_scope :for_subparticipants named_scope :itsyou, lambda { |itsyoupid| { :conditions => { :participants => { :id => itsyoupid } } } } named_scope :only_subparticipants, :conditions => { :participants => { :ptype => TYPE[:sub] } } named_scope :only_mainparticipants, :conditions => { :participants => { :ptype => TYPE[:main] } } |