This project is archived and is in readonly mode.

#6759 new
Steve

API document incorrect

Reported by Steve | April 30th, 2011 @ 04:09 PM

Looking at the example at: http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper...

It gives the example of doing a select tag. The example is:

select_tag "people", "David"

However, that does not work. The correct example would be:

select_tag "people", "David".html_safe

Lighthouse took out the option tags. However, .html_safe needs added to the end.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

People watching this ticket

Pages