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 »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages