aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/querying.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-01-13 23:56:07 +0000
committerJon Leighton <j@jonathanleighton.com>2012-01-16 21:17:17 +0000
commit4c4760a619e9bddf14e65dd7f0d5bbc3f9ca320e (patch)
tree96f4f14822e74d96b79dea9f51978885cc8e2d3e /activerecord/lib/active_record/querying.rb
parentd13627d532f23b248a9141511c16abdf5746a486 (diff)
downloadrails-4c4760a619e9bddf14e65dd7f0d5bbc3f9ca320e.tar.gz
rails-4c4760a619e9bddf14e65dd7f0d5bbc3f9ca320e.tar.bz2
rails-4c4760a619e9bddf14e65dd7f0d5bbc3f9ca320e.zip
Add ActiveRecord::Relation#references (#950)
Diffstat (limited to 'activerecord/lib/active_record/querying.rb')
-rw-r--r--activerecord/lib/active_record/querying.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/querying.rb b/activerecord/lib/active_record/querying.rb
index 09da9ad1d1..94e34e1bd4 100644
--- a/activerecord/lib/active_record/querying.rb
+++ b/activerecord/lib/active_record/querying.rb
@@ -8,7 +8,7 @@ module ActiveRecord
delegate :find_each, :find_in_batches, :to => :scoped
delegate :select, :group, :order, :except, :reorder, :limit, :offset, :joins,
:where, :preload, :eager_load, :includes, :from, :lock, :readonly,
- :having, :create_with, :uniq, :to => :scoped
+ :having, :create_with, :uniq, :references, :to => :scoped
delegate :count, :average, :minimum, :maximum, :sum, :calculate, :pluck, :to => :scoped
# Executes a custom SQL query against your database and returns all the results. The results will