-
Type:
Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In Mongoid3 I used to be able to change whether there were any accessible/protected attributes explicitly.
ruby
context "protected attributes" do
before :each do
Comment.attr_accessible(nil)
end
after :each do
Comment.attr_protected(nil)
end
...
This now yields {{undefined method }}attr_accessible' for Comment:Class`, where did it go?