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
1 changed files with 1 additions and 1 deletions

View File

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