aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-30 10:15:32 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-30 10:15:32 -0700
commita672a525f821aed061c2aa68ec804e895ac3ebf3 (patch)
treef30001ca7dadd6c89204ebd02533641d604db3bd
parentee6443f21709c8fb2927316bc90f9e2db8a17566 (diff)
downloadrails-a672a525f821aed061c2aa68ec804e895ac3ebf3.tar.gz
rails-a672a525f821aed061c2aa68ec804e895ac3ebf3.tar.bz2
rails-a672a525f821aed061c2aa68ec804e895ac3ebf3.zip
variable name clarity
-rw-r--r--lib/arel/algebra/relations/relation.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/algebra/relations/relation.rb b/lib/arel/algebra/relations/relation.rb
index 0441b14382..9ff436ecb7 100644
--- a/lib/arel/algebra/relations/relation.rb
+++ b/lib/arel/algebra/relations/relation.rb
@@ -143,8 +143,8 @@ module Arel
thing ? Skip.new(self, thing) : self
end
- def take thing
- Take.new self, thing
+ def take count
+ Take.new self, count
end
def from thing