From 05a4e7055efdc76502df5ae82368d4c851379060 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 2 Aug 2013 11:44:20 -0300 Subject: [PATCH] Rails3: Fix Region unit test --- app/models/region.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/app/models/region.rb b/app/models/region.rb index 90da18b..6eaf139 100644 --- a/app/models/region.rb +++ b/app/models/region.rb @@ -1,5 +1,8 @@ # Region is a special type of category that is related to geographical issues. class Region < Category + + attr_accessible :name + has_and_belongs_to_many :validators, :class_name => 'Organization', :join_table => :region_validators require_dependency 'enterprise' # enterprises can also be validators -- libgit2 0.21.2