# File lib/mongoid/errors/validations.rb, line 12 def initialize(document) @document = document super( translate( "validations", { :errors => document.errors.full_messages.join(", ") } ) ) end