Skip to content
Browse files

Explicitly require builder for to_xml

  • Loading branch information...
1 parent 0fa1e75 commit 9b852af49783096124aa34c4638b99768f701a78 @jeremy jeremy committed Apr 30, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 activerecord/lib/active_record/validations.rb
View
2 activerecord/lib/active_record/validations.rb
@@ -1,3 +1,5 @@
+require 'builder'
+
module ActiveRecord
# Raised by <tt>save!</tt> and <tt>create!</tt> when the record is invalid. Use the
# +record+ method to retrieve the record which did not validate.

0 comments on commit 9b852af

Please sign in to comment.
Something went wrong with that request. Please try again.