mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve doc of automatic inverse_of detection
This commit is contained in:
parent
4b68e6dbf4
commit
323cfe1aaa
1 changed files with 3 additions and 2 deletions
|
@ -703,8 +703,9 @@ module ActiveRecord
|
|||
# #belongs_to associations.
|
||||
#
|
||||
# Extra options on the associations, as defined in the
|
||||
# <tt>AssociationReflection::INVALID_AUTOMATIC_INVERSE_OPTIONS</tt> constant, will
|
||||
# also prevent the association's inverse from being found automatically.
|
||||
# <tt>AssociationReflection::INVALID_AUTOMATIC_INVERSE_OPTIONS</tt>
|
||||
# constant, or a custom scope, will also prevent the association's inverse
|
||||
# from being found automatically.
|
||||
#
|
||||
# The automatic guessing of the inverse association uses a heuristic based
|
||||
# on the name of the class, so it may not work for all associations,
|
||||
|
|
Loading…
Reference in a new issue