1
0
Fork 0

Update model with semesters

This commit is contained in:
Andrew Tomaka 2013-04-24 19:12:12 -04:00
parent 2936abbc91
commit 796fc804a7

View file

@ -1,4 +1,5 @@
class Alert < ActiveRecord::Base class Alert < ActiveRecord::Base
enum_attr :semester, %w(US13 FS13 SS14)
attr_accessible :course, :department, :semester, :sections attr_accessible :course, :department, :semester, :sections
attr_protected :user_id attr_protected :user_id
attr_protected :alerted attr_protected :alerted