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.

Kevin Watt's latest activity

Saturday, March 19 2011
6275 AbstractController::ActionNotFound should be rescued was updated in Ruby on Rails
  • Kevin Watt
    Kevin Watt commented at 2:43 PM

    That fixed it, thanks. When rendering your action you can't re-raise and expect that to get caught like normal, since it's not being wrapped in the begin block ...

  • Kevin Watt
    Kevin Watt commented at 1:35 AM

    I'm trying your solution, but don't seem to have access to MyApp::HomeController in this context. Any tips? Is it in any strange namespaces besides the one I de...

4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • Kevin Watt
    Kevin Watt commented at 2:36 PM

    I am using non-restful routes, which is perhaps why the catch-all doesn't work for me

    match ':controller(/:action(/:id))', :constraints => {:id => /.*/}
    
Friday, March 18 2011
4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • Kevin Watt
    Kevin Watt commented at 4:56 PM

    Just to add,
    match '/:anything', :to => "home#routing_error", :constraints => { :anything => /./ } or
    match "
    ", :to => "home#routing_error"

    Don't seem to work w...

  • Kevin Watt
    Kevin Watt commented at 3:40 PM

    This is a huge bug and I feel it's priority should be raised.

    It's not acceptable for a broken link in a production app to result in a blank screen, this is why...