diff options
Diffstat (limited to 'app/models/issue_category.rb')
-rw-r--r-- | app/models/issue_category.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_category.rb b/app/models/issue_category.rb index 162e7dc72..3ff0d0591 100644 --- a/app/models/issue_category.rb +++ b/app/models/issue_category.rb @@ -27,7 +27,7 @@ class IssueCategory < ActiveRecord::Base safe_attributes 'name', 'assigned_to_id' - named_scope :named, lambda {|arg| { :conditions => ["LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip]}} + scope :named, lambda {|arg| { :conditions => ["LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip]}} alias :destroy_without_reassign :destroy |