aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-08-24 18:33:59 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-08-24 18:35:22 +0200
commitf3b8a0d375fe441d70b9c77bd9c20347c71a70cb (patch)
tree61ef272ef3e288e5d0791d17eb19a5f18da97b2f /activerecord
parentfe62df5e23ee1164185d9ec808f232c571438f76 (diff)
downloadrails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.tar.gz
rails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.tar.bz2
rails-f3b8a0d375fe441d70b9c77bd9c20347c71a70cb.zip
Fix a few typos [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 54390e612f..18d4291599 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1291,7 +1291,7 @@ module ActiveRecord
# when you access the associated object.
#
# Scope examples:
- # has_one :auther, -> { where(comment_id: 1) }
+ # has_one :author, -> { where(comment_id: 1) }
# has_one :employer, -> { joins(:company) }
# has_one :dob, ->(dob) { where("Date.new(2000, 01, 01) > ?", dob) }
#