This project is archived and is in readonly mode.

#2994 ✓invalid
Hector Parra

link_to options' documentation

Reported by Hector Parra | August 4th, 2009 @ 01:25 PM

Today I had a little hadeache trying to understand where to put the :method option in a link_to. It is not that I didn't know it, but a workmate pointed out that the documentation puts :method, :confirm, etc. under a heading named "Options", and the real argument name where you need to put them is html_options. Wouldn't it be easier to name the heading as the argument name? Just to make the documentation clear for everyone :)

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