aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authormariozig <mariozig@gmail.com>2013-06-25 15:35:03 -0700
committermariozig <mariozig@gmail.com>2013-06-25 15:35:03 -0700
commitbf044a9bbe222b45cfa58e65651749ec70f2793b (patch)
treecfb2e0f795a6af789b6b67bee058dbfa94db1b8e /actionview
parentf02d4ddc99ad70d1bd50ff70d37aed5f9cf49398 (diff)
downloadrails-bf044a9bbe222b45cfa58e65651749ec70f2793b.tar.gz
rails-bf044a9bbe222b45cfa58e65651749ec70f2793b.tar.bz2
rails-bf044a9bbe222b45cfa58e65651749ec70f2793b.zip
Fix typo in docs. HABTM associations should use a pluralized name
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/form_options_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb
index ad26505086..21f892f443 100644
--- a/actionview/lib/action_view/helpers/form_options_helper.rb
+++ b/actionview/lib/action_view/helpers/form_options_helper.rb
@@ -653,7 +653,7 @@ module ActionView
#
# Example object structure for use with this method:
# class Post < ActiveRecord::Base
- # has_and_belongs_to_many :author
+ # has_and_belongs_to_many :authors
# end
# class Author < ActiveRecord::Base
# has_and_belongs_to_many :posts