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.

Giuseppe Bertini's latest activity

Monday, September 28 2009
3263 Failing functional test of a named route was updated in Ruby on Rails
  • Giuseppe Bertini
    Giuseppe Bertini commented at 8:24 AM

    Which leads to the following proposal.

    • The testing framework simply enforces the proper :conditions => {:method => :get} syntax, so there's no problem there.
    • I...
  • Giuseppe Bertini
    Giuseppe Bertini commented at 6:33 AM

    Suppose you have the following two named routes (along with controller actions and .erb templates):

    ActionController::Routing::Routes.draw do |map|
      map.accep...
Saturday, September 26 2009
3263 Failing functional test of a named route was updated in Ruby on Rails
  • Giuseppe Bertini
    Giuseppe Bertini commented at 10:24 PM

    Hi, I am on rails 2.3.4.

    I believe that the reason your test passes is that, after the named route in question, you have the catch-all route (:controller/:actio...

  • Giuseppe Bertini
    Giuseppe Bertini created the ticket at 5:41 PM

    Given the following named route:

    map.accept_invitation '/accept_invitation/:id', :controller => "invitations", :action => "accept", :method => "get"
    

    and the f...