app/models/organizations/organization_quarter.rb
def self_placements_only?
    count = 0
    placements.filled.each{|p| count += 1 if p.position.self_placement? }
    count == placements.filled.size
  end
# Returns true if the only filled placements for this quarter are self-placements
Returns true if the only filled placements for this quarter are self-placements
Returns true if the only filled placements for this quarter are self - placements
def self_placements_only?
    count = 0
    placements.filled.each{|p| count += 1 if p.position.self_placement? }
    count == placements.filled.size
  end
def self_placements_only? count = 0 placements . filled . each { | p | count += 1 if p . position . self_placement? } count == placements . filled . size end
Returns true if the only filled placements for this quarter are self-placements
Returns true if the only filled placements for this quarter are self - placements