Browse files

Merge pull request #14783 from hakanensari/autoload-strict-validation…

…-failed

Autoload ActiveModel::StrictValidationFailed
  • Loading branch information...
2 parents db5a610 + 9be22bd commit 542457b5d2f56baafd60a0e46f1bfb9eb481e61b @rafaelfranca rafaelfranca committed Apr 16, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 activemodel/lib/active_model.rb
View
1 activemodel/lib/active_model.rb
@@ -48,6 +48,7 @@ module ActiveModel
eager_autoload do
autoload :Errors
+ autoload :StrictValidationFailed, 'active_model/errors'
end
module Serializers

0 comments on commit 542457b

Please sign in to comment.