Skip to content

Commit

Permalink
remove unused through association
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatts committed Sep 27, 2014
1 parent df49a33 commit da60d5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/attendance_entry.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
class AttendanceEntry < ActiveRecord::Base

#has_many people
belongs_to :event
has_many :users, through: :event
validates :event, presence: true
validates :upi, :uniqueness => { :scope => :event, :message => "This person has already been checked into this event." }

Expand Down

0 comments on commit da60d5d

Please sign in to comment.