Commit 05a4e7055efdc76502df5ae82368d4c851379060
1 parent
ab8cef16
Exists in
master
and in
29 other branches
Rails3: Fix Region unit test
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/models/region.rb
1 | 1 | # Region is a special type of category that is related to geographical issues. |
2 | 2 | class Region < Category |
3 | + | |
4 | + attr_accessible :name | |
5 | + | |
3 | 6 | has_and_belongs_to_many :validators, :class_name => 'Organization', :join_table => :region_validators |
4 | 7 | |
5 | 8 | require_dependency 'enterprise' # enterprises can also be validators | ... | ... |