Skip to content

Commit

Permalink
Merge 74777bc into cc69597
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeg committed Apr 23, 2015
2 parents cc69597 + 74777bc commit 8789ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongoid/errors/validations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Errors
# will contain the full error messages from the +Document+ in question.
#
# @example Create the error.
# Validations.new(person.errors)
# Validations.new(person)
class Validations < MongoidError
attr_reader :document
alias :record :document
Expand Down

0 comments on commit 8789ead

Please sign in to comment.