aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2014-08-02 19:30:44 -0400
committerEileen M. Uchitelle <eileencodes@gmail.com>2014-08-02 19:30:44 -0400
commit78ca462f78c56a5ebdc70742b4313be8cd32eb02 (patch)
tree51eac5b66dc8952e99c30f0f74ec9aed82deef6e /activerecord
parentdc1a6614dca69a8ec7a368c5a0d7bc32660c1c1d (diff)
parent30af85813094662a22dd39747233f75c54632aa0 (diff)
downloadrails-78ca462f78c56a5ebdc70742b4313be8cd32eb02.tar.gz
rails-78ca462f78c56a5ebdc70742b4313be8cd32eb02.tar.bz2
rails-78ca462f78c56a5ebdc70742b4313be8cd32eb02.zip
Merge pull request #16377 from JackDanger/doc-fix-in-association-reflection
Fixes small error in ActiveRecord::Reflection docs
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/reflection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index 10a75530fd..1547c8e3f4 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -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