This project is archived and is in readonly mode.

#6276 ✓hold
Mohammed Naser

Documentation mistake (typo)

Reported by Mohammed Naser | January 11th, 2011 @ 04:42 AM

Hello,

There is a small typo in the documentation

http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html

under "If you have an object that needs to be represented as a different parameter, like a Client that acts as a Person:
"

  <%= form_for(@post, :as => :client do |f| %>

should be

  <%= form_for(@post, :as => :client) do |f| %>

Thanks.

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>

Pages