# File lib/mongo_mapper/plugins/validations.rb, line 25 def valid?(context = nil) context ||= (new_record? ? :create : :update) super(context) end