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.

Ravil Bayramgalin's latest activity

Wednesday, July 23 2008
681 form_for doesn't work with an uncountable route was created in Ruby on Rails
  • Ravil Bayramgalin
    Ravil Bayramgalin created the ticket at 1:25 PM
    def new
      @news = News.new 
    end
    
    <% form_for(@news) do |f| %>
    ...
    <% end %>
    

    This code throws error:

    ActionView::TemplateError (news_url failed to genera...