1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #16377 from JackDanger/doc-fix-in-association-reflection

Fixes small error in ActiveRecord::Reflection docs
This commit is contained in:
Eileen M. Uchitelle 2014-08-02 19:30:44 -04:00
commit 78ca462f78

View file

@ -38,7 +38,7 @@ module ActiveRecord
ar.aggregate_reflections = ar.aggregate_reflections.merge(name.to_s => reflection)
end
# \Reflection enables to interrogate Active Record classes and objects
# \Reflection enables interrogating Active Record classes and objects
# about their associations and aggregations. This information can,
# for example, be used in a form builder that takes an Active Record object
# and creates input fields for all of the attributes depending on their type