From bf044a9bbe222b45cfa58e65651749ec70f2793b Mon Sep 17 00:00:00 2001 From: mariozig Date: Tue, 25 Jun 2013 15:35:03 -0700 Subject: Fix typo in docs. HABTM associations should use a pluralized name --- actionview/lib/action_view/helpers/form_options_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview') 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 -- cgit v1.2.3