From d8125c22027b88c5c68eaebbe5fb9f2ca707c0a0 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 3 Apr 2013 19:32:59 -0400 Subject: [PATCH] Reference instance variables with self. so they work? --- app/models/alert.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/alert.rb b/app/models/alert.rb index e3bc90b..0355da9 100644 --- a/app/models/alert.rb +++ b/app/models/alert.rb @@ -27,7 +27,7 @@ class Alert < ActiveRecord::Base end def class_name - @department + ' ' + @course + "#{self.department} #{self.course}" end def sections