diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-30 20:33:50 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-04-30 20:33:50 -0700 |
commit | 509c389bf8093d7995a52470c27c221adc972796 (patch) | |
tree | 8716a23c0b8579933378490a073bff7a17ba3df1 /activerecord | |
parent | 4bb6f77059a34ea7c8575523397032b4cc67e00a (diff) | |
download | rails-509c389bf8093d7995a52470c27c221adc972796.tar.gz rails-509c389bf8093d7995a52470c27c221adc972796.tar.bz2 rails-509c389bf8093d7995a52470c27c221adc972796.zip |
Explicitly require builder for to_xml
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index d2d12b80c9..e6b61e0b35 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/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. |