aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2013-12-05 00:18:22 -0200
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2013-12-05 00:18:22 -0200
commit0507bc3f58b7d6a36d93dcd5c21d7f40e9322c80 (patch)
tree8e888126f7e24b494e746cfe0081aa3bb6ea9193 /lib/arel
parentf1192f74282850ba2884d55934732ceb4ae5f891 (diff)
downloadrails-0507bc3f58b7d6a36d93dcd5c21d7f40e9322c80.tar.gz
rails-0507bc3f58b7d6a36d93dcd5c21d7f40e9322c80.tar.bz2
rails-0507bc3f58b7d6a36d93dcd5c21d7f40e9322c80.zip
Remove deprecated calls from the tests
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/visitors/mssql.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/mssql.rb b/lib/arel/visitors/mssql.rb
index 9a88ee5b0f..2f5edce19a 100644
--- a/lib/arel/visitors/mssql.rb
+++ b/lib/arel/visitors/mssql.rb
@@ -62,8 +62,8 @@ module Arel
x.projections.length == 1 && Arel::Nodes::Count === x.projections.first
end
- # fixme raise exception of there is no pk?
- # fixme!! Table.primary_key will be depricated. What is the replacement??
+ # FIXME raise exception of there is no pk?
+ # FIXME!! Table.primary_key will be deprecated. What is the replacement??
def find_left_table_pk o, a
return visit o.primary_key, a if o.instance_of? Arel::Table
find_left_table_pk o.left, a if o.kind_of? Arel::Nodes::Join