aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-04-14 20:45:31 +0200
committerXavier Noria <fxn@hashref.com>2013-04-14 20:46:58 +0200
commit8c21663f655b9a67069c03094e5da2dc8a674eb3 (patch)
treeffeaeb0855328c24e2175f80ad5a67066f17effa /lib/arel/visitors
parent6b3bc33e1cb85cb55d1d15c6aa9cf241bd8c2ee2 (diff)
downloadrails-8c21663f655b9a67069c03094e5da2dc8a674eb3.tar.gz
rails-8c21663f655b9a67069c03094e5da2dc8a674eb3.tar.bz2
rails-8c21663f655b9a67069c03094e5da2dc8a674eb3.zip
ARel -> Arel
The project uses "Arel" most of the time, but there were a few "ARel" here and there. I checked with @brynary back in 2010 to pick one for the Rails documentation guidelines and "Arel" was chosen and documented. This patch chooses "Arel" vs "ARel" based on that.
Diffstat (limited to 'lib/arel/visitors')
-rw-r--r--lib/arel/visitors/dot.rb2
-rw-r--r--lib/arel/visitors/to_sql.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/dot.rb b/lib/arel/visitors/dot.rb
index e309bd6f12..843266f85a 100644
--- a/lib/arel/visitors/dot.rb
+++ b/lib/arel/visitors/dot.rb
@@ -254,7 +254,7 @@ module Arel
end
def to_dot
- "digraph \"ARel\" {\nnode [width=0.375,height=0.25,shape=record];\n" +
+ "digraph \"Arel\" {\nnode [width=0.375,height=0.25,shape=record];\n" +
@nodes.map { |node|
label = "<f0>#{node.name}"
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb
index d0a05fac7e..1a4826bcd2 100644
--- a/lib/arel/visitors/to_sql.rb
+++ b/lib/arel/visitors/to_sql.rb
@@ -96,7 +96,7 @@ module Arel
unless key
warn(<<-eowarn) if $VERBOSE
(#{caller.first}) Using UpdateManager without setting UpdateManager#key is
-deprecated and support will be removed in ARel 4.0.0. Please set the primary
+deprecated and support will be removed in Arel 4.0.0. Please set the primary
key on UpdateManager using UpdateManager#key=
eowarn
key = o.relation.primary_key