Class Attendance
In: app/models/attendance.rb
Parent: ActiveRecord::Base

Methods

Public Class methods

All of the attendances registered for a given conference

Very often, calling this method will be immediately followed by finding each of its results’ associated people - Make it easy on the database by including the people on the query itself.

All of the attendances for a given person

Gives the full list of people who attended the specified conference. The results are given back as a hash, where the keys are the number of attendances each given person had.

Public Instance methods

The conference to which this attendance belongs

Protected Instance methods

[Validate]