1
0
Fork 0

Reference instance variables with self. so they work?

This commit is contained in:
Andrew Tomaka 2013-04-03 19:32:59 -04:00
parent 96e5e35d7c
commit d8125c2202

View file

@ -27,7 +27,7 @@ class Alert < ActiveRecord::Base
end end
def class_name def class_name
@department + ' ' + @course "#{self.department} #{self.course}"
end end
def sections def sections