aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index 6f29a02e56..aa23a7d601 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -45,6 +45,10 @@ module Arel
end
def joins manager
+ if $VERBOSE
+ warn "joins is deprecated and will be removed in 2.2"
+ warn "please remove your call to joins from #{caller.first}"
+ end
nil
end