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
def class_name
@department + ' ' + @course
"#{self.department} #{self.course}"
end
def sections