From 9bfa13bb06d510b95f9af27bf12abf031f9af0a5 Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Sat, 1 Sep 2012 22:36:27 -0500 Subject: attr_accessible and attr_protected raise an exception pointing to use plugin or new protection model --- activemodel/test/models/project.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 activemodel/test/models/project.rb (limited to 'activemodel/test/models') diff --git a/activemodel/test/models/project.rb b/activemodel/test/models/project.rb new file mode 100644 index 0000000000..581b6dc0b3 --- /dev/null +++ b/activemodel/test/models/project.rb @@ -0,0 +1,3 @@ +class Project + include ActiveModel::DeprecatedMassAssignmentSecurity +end -- cgit v1.2.3