Removing attr_accessible.

This commit is contained in:
Carlos A. da Silva
2009-10-22 20:15:47 -02:00
parent 4b7aa5a2d0
commit 9643a5fa6d
7 changed files with 0 additions and 46 deletions

View File

@@ -33,8 +33,4 @@ class ActiveSupport::TestCase
def create_user(attributes={})
User.create!(valid_attributes(attributes))
end
def field_accessible?(field)
new_user(field => 'test').send(field) == 'test'
end
end