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.

Hubert Łępicki's latest activity

Monday, July 26 2010
4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • Hubert Łępicki
    Hubert Łępicki commented at 8:14 AM

    I was giving it a bit more thought since yesterday. The solution with match "/:anything" is also not perfect for some people, as it'll override all routes from ...

Sunday, July 25 2010
4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • Hubert Łępicki
    Hubert Łępicki commented at 5:52 PM

    I mean, you have to do it like this:

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

  • Hubert Łępicki
    Hubert Łępicki commented at 5:47 PM

    José, are you sure that your solution actually works? I think it's not working as you can't simply say match "*" to match everything in Rails 3 so far?

Friday, June 04 2010
4764 [PATCH] Removing RAILS_CACHE and replacing it with Rails.cache was updated in Ruby on Rails
Monday, November 17 2008
1349 named scope with group by bug? was updated in Ruby on Rails
  • Hubert Łępicki
    Hubert Łępicki commented at 3:50 PM

    Oh I don't know if such functionality exist. I guess you could hack on ActiveRecord and build it yourself quite easily, but it's got obvious disadvantages like ...

  • Hubert Łępicki
    Hubert Łępicki commented at 2:41 PM

    Hi Jens,

    You can easily see SQL queries generated in log files. I also think that if you operate from Rails console, and have server started in other window (li...