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.

Karel Minařík's latest activity

Sunday, November 30 2008
1498 Engine plugin template should raise LoadError, not generic exception was created in Ruby on Rails
  • Karel Minařík
    Karel Minařík created the ticket at 1:38 PM

    The template for init.rb for newly added plugin-engine support (great!!) should raise LoadError, not just RuntimeError.

    Here's the relevant template: http://gi...

Monday, November 17 2008
1251 default_url_options can't be used with named routes was updated in Ruby on Rails
  • Karel Minařík
    Karel Minařík commented at 7:29 PM
    Right, this works for :locale, but not for anything else.

    Yes, that is the problem with Josés solution. :locale isn't something which should be hardcoded in Rai...

  • Karel Minařík
    Karel Minařík commented at 3:14 PM

    OK, thanks very much for this update!

    I think something like book_path(1) is something (at least) I can live with :)

    Updated the silly test app @ Github. Probab...

  • Karel Minařík
    Karel Minařík commented at 3:06 PM

    Ha! That does work!

    But it's kinda incovenient to use this syntax all over the place instead of "normal" book_path(1)...

    Do you think the positional arguments c...

  • Karel Minařík
    Karel Minařík commented at 3:00 PM

    Hi Michael,

    thanks for the update!

    You got me thrilled :)

    I tried to use it, and the one major problem with restful routes still stands, at least in my test cas...

Wednesday, October 22 2008
1251 default_url_options can't be used with named routes was updated in Ruby on Rails
  • Karel Minařík
    Karel Minařík commented at 10:14 PM

    +1 on this one.

    This would be wonderful solution for persistent locale passing in URLs, as:

    
    def default_url_options(options={})
      { :locale => I18n.locale }
    ...
Wednesday, September 10 2008
713 New Inflectors: Actionize and Parameterize was updated in Ruby on Rails
  • Karel Minařík
    Karel Minařík commented at 4:35 PM

    I second Damian. Discovered this only afterwrds in Github commits feed.

    I think the "dumb" transliteration like Malmö => "malm-" really is not a practice to be ...

Tuesday, August 26 2008
832 expire_fragment_by_glob() for file-based fragment caching was updated in Ruby on Rails
  • Karel Minařík
    Karel Minařík commented at 9:45 PM

    Thanks for comment, Pratik.

    expire_fragment() already takes a regexp.

    True, but that doesn't take into account different hostnames an application runs on (www...

Tuesday, August 19 2008
514 Rails::Configuration default_cache_store not called was updated in Ruby on Rails
  • Karel Minařík
    • Tag changed from activesupport, bug, railties to 2.1, activesupport, bug, railties
    by Karel Minařík at 10:23 AM

    +1

    I recently run into this issue, because Rails 2.1 kept storing my cache in memory, instead of tmp/cache and I had to debug extensively.

    (I wanted to preser...

Thursday, August 14 2008
832 expire_fragment_by_glob() for file-based fragment caching was created in Ruby on Rails
  • Karel Minařík
    Karel Minařík created the ticket at 6:28 PM

    This patch adds expire_fragment_by_glob() method to ActionController::Caching::Fragments for easy cleaning-up the file-based cache.

    I tried to use the Regexp o...