# File app/models/person.rb, line 111 def has_proposal_for?(conf) # Accept either a conference object or a conference ID conf = Conference.find_by_id(conf) if conf.is_a? Integer self.proposals.map {|p| p.conference}.include?(conf) end