Exception: MongoMapper::AccessibleOrProtected
Instance Method Summary (collapse)
-
- (AccessibleOrProtected) initialize(name)
constructor
A new instance of AccessibleOrProtected.
Constructor Details
- (AccessibleOrProtected) initialize(name)
A new instance of AccessibleOrProtected
26 27 28 |
# File 'lib/mongo_mapper/exceptions.rb', line 26 def initialize(name) super("Declare either attr_protected or attr_accessible for #{name}, but not both.") end |