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.

There was a problem

You must be a member of this account.

Alex Chrome's latest activity

Tuesday, August 03 2010
5226 form_for helper don't accept 'format' option was updated in Ruby on Rails
Wednesday, July 28 2010
5226 form_for helper don't accept 'format' option was updated in Ruby on Rails
  • Alex Chrome
    • Tag changed from actionpack, actionview, format, form_for to actionpack, actionview, format, form_for, patch
    by Alex Chrome at 8:17 AM

    Added patch

  • Alex Chrome
    Alex Chrome created the ticket at 8:08 AM

    form_for helper don't accept 'format' option

    ie.

    form_for Post.new, :format => :json do
      ...
    end
    

    will be like:

    <form method="post" id="new_post" class="new_...