mirror of https://github.com/rails/rails
Fix a few typos [ci skip]
This commit is contained in:
parent
fe62df5e23
commit
f3b8a0d375
|
@ -12,7 +12,7 @@ module ActiveJob
|
|||
end
|
||||
end
|
||||
|
||||
# Raised when an unsupporter argument type is being set as job argument. We
|
||||
# Raised when an unsupported argument type is being set as job argument. We
|
||||
# currently support NilClass, Fixnum, Float, String, TrueClass, FalseClass,
|
||||
# Bignum and object that can be represented as GlobalIDs (ex: Active Record).
|
||||
# Also raised if you set the key for a Hash something else than a string or
|
||||
|
|
|
@ -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) }
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue