Browse files

Dev: fix build by allowing mass assignment for an attribute

  • Loading branch information...
1 parent df4ef8a commit b11800fd7c611a8adffb5e0de08049a5ed54209a @justinko justinko committed Apr 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 features/model_specs/errors_on.feature
View
1 features/model_specs/errors_on.feature
@@ -8,6 +8,7 @@ Feature: errors_on
class ValidatingWidget < ActiveRecord::Base
set_table_name :widgets
validates_presence_of :name
+ attr_accessible :name
end
describe ValidatingWidget do

0 comments on commit b11800f

Please sign in to comment.