aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorCade Truitt <cadetruitt@gmail.com>2014-07-02 20:24:55 -0500
committerCade Truitt <cadetruitt@gmail.com>2014-07-02 20:24:55 -0500
commit3c917dd1ec84299460657237f2f4771086ba1106 (patch)
treec04564079186a211141782e2496a04c5c282483b /activerecord
parentbeab403fc31199bbb01f1e6e1ba0f839af047afe (diff)
downloadrails-3c917dd1ec84299460657237f2f4771086ba1106.tar.gz
rails-3c917dd1ec84299460657237f2f4771086ba1106.tar.bz2
rails-3c917dd1ec84299460657237f2f4771086ba1106.zip
Fix typo in comment
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/calculations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb
index b4ae204813..90e99957f6 100644
--- a/activerecord/lib/active_record/relation/calculations.rb
+++ b/activerecord/lib/active_record/relation/calculations.rb
@@ -34,7 +34,7 @@ module ActiveRecord
# # => counts the number of different age values
#
# Note: not all valid +select+ expressions are valid +count+ expressions. The specifics differ
- # between databases. In invalid cases, an error from the databsae is thrown.
+ # between databases. In invalid cases, an error from the database is thrown.
def count(column_name = nil, options = {})
# TODO: Remove options argument as soon we remove support to
# activerecord-deprecated_finders.