diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2010-06-23 11:54:38 -0400 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-23 18:00:32 +0200 |
commit | 0bf3baa6b3d216c6340f8d3b5d0a3ebc093e969a (patch) | |
tree | 227e2e5717a4e3c1a494a58e5414ee82a5a0b9a5 /activerecord/lib/active_record/relation.rb | |
parent | eb04408a20628a49296e0859425940b39a83ec63 (diff) | |
download | rails-0bf3baa6b3d216c6340f8d3b5d0a3ebc093e969a.tar.gz rails-0bf3baa6b3d216c6340f8d3b5d0a3ebc093e969a.tar.bz2 rails-0bf3baa6b3d216c6340f8d3b5d0a3ebc093e969a.zip |
adding fix for to_xml for ActiveRecord relation object
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index a342b1fe6f..a51b317dc3 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -10,7 +10,7 @@ module ActiveRecord include FinderMethods, Calculations, SpawnMethods, QueryMethods, Batches - delegate :to_json, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to => :to_a + delegate :to_xml, :to_json, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to => :to_a delegate :insert, :to => :arel attr_reader :table, :klass |