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.

Nick Kezhaya's latest activity

Saturday, October 30 2010
5892 Using form_for() with :as option in routes breaks was updated in Ruby on Rails
  • Nick Kezhaya
    Nick Kezhaya commented at 6:44 PM

    This becomes problematic if you'd want to use a partial (_form.html.erb).

    <%= form_for(@post, :url => articles_path) do %>
    <!-- form contents -->
    <% end %>
    

    Th...

  • Nick Kezhaya
    Nick Kezhaya created the ticket at 12:16 AM

    This is extremely simple to reproduce.

    If, for instance, you create a scaffold:

    rails g scaffold Post title:string

    and in config/routes.rb, you specify:

    resourc...

Sunday, December 14 2008
1569 Email in URL Reproduces Routing Error was created in Ruby on Rails
  • Nick Kezhaya
    Nick Kezhaya created the ticket at 1:42 AM

    The title pretty much says it all. I'm trying to get Rails to handle emails in GET requests, so this is in my routes.rb:

    map.connect ':controller' map.connect '...