diff --git a/app/models/report.rb b/app/models/report.rb index fa9a88375d..fd6112dc94 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -1,7 +1,8 @@ require 'forwardable' class Report < ActiveRecord::Base - InheritedNamespace.activate + InheritedNamespace.activate unless defined? Rails && Rails.version =~ /^3./ + extend Forwardable include Enumerable #belongs_to :user