Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Documentation mistake (typo)

#6276

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.

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

State: hold
Milestone: none
Assigned to: Xavier Noria Xavier Noria
Importance: Low

Activity

  1. Evgeniy Dolzhenko
    Evgeniy Dolzhenko

    You can freely commit documentation fixes to the docrails repo, read more about it here http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documenta...

    January 11th, 2011 @ 08:16 AM

  2. Mohammed Naser
    Mohammed Naser

    Thanks! I will do that now

    January 11th, 2011 @ 08:43 AM

  3. Mohammed Naser
    Mohammed Naser

    Looks like it's already been fixed in docrails. I am not sure how to close this so if someone can close it (or if I figure it out)

    I will check the docrails in the future.

    Thanks

    January 11th, 2011 @ 08:49 AM

  4. Vijay Dev
    Vijay Dev
    • Tag set to documentation
    • Assigned user set to Xavier Noria

    As Naser mentions, this is fixed (6f3ac42550ed6780427e723de61f351537d582bf) and can be closed.

    @Xavier: Assigning to you for closure. Thanks!

    February 6th, 2011 @ 09:07 PM

  5. Ryan Bigg
    Ryan Bigg
    • State changed from new to hold
    • Importance changed from to Low

    February 7th, 2011 @ 12:00 AM