Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explicitly require builder for to_xml

  • Loading branch information...
commit 509c389bf8093d7995a52470c27c221adc972796 1 parent 4bb6f77
@jeremy jeremy authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.