Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10523 (closed enhancement: fixed)

Opened 7 months ago

Last modified 4 months ago

[TINY][DOCS] Select Helper Doc Improvements, re: index Option

Reported by: jamesh Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords: docs verified
Cc: nicwilliams

Description

Folks attempting to use Ryan Bates' multi-object form methodology (see http://railscasts.com/episodes/75) may have had difficulties using the select form helper, specifically the usage of the "index" option.

This patch includes documentation on the correct usage of this option and a test to show an example of this usage.

Attachments

select_index_note_and_test.diff (2.2 kB) - added by jamesh on 12/16/07 19:07:27.

Change History

12/16/07 19:07:27 changed by jamesh

  • attachment select_index_note_and_test.diff added.

12/31/07 22:55:04 changed by nicwilliams

  • cc set to nicwilliams.

+1 - this docco helped me - I didn't know that :index => val needed to be in the 2nd options hash of the helper.

01/14/08 02:48:15 changed by ilusion

Plz, commit your changes.

03/18/08 20:10:57 changed by kris_chambers

+1 good to know.

03/19/08 18:54:35 changed by jqr

  • keywords changed from docs to docs verified.

+1

03/20/08 02:15:32 changed by david

  • status changed from new to closed.
  • resolution set to fixed.

(In [9064]) Docfixes (closes #11356, #11172, #10523)