# File lib/brakeman/tracker/model.rb, line 30 def parent_classes_protected? seen={} seen[self.name] = true if @attr_accessible or self.includes.include? "ActiveModel::ForbiddenAttributesProtection""ActiveModel::ForbiddenAttributesProtection" true elsif parent = tracker.models[self.parent] and !seen[self.parent] parent.parent_classes_protected? seen else false end end