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.

Bruno Michel's latest activity

Wednesday, September 29 2010
5735 Weird classes namespace whith cache_classes = false was updated in Ruby on Rails
  • Bruno Michel
    Bruno Michel commented at 9:28 PM

    I've addded the failing test case.

  • Bruno Michel
    Bruno Michel created the ticket at 8:45 PM

    Hi,

    I've observed a weird behavior of loading classes with namespace. I have a class that is not in a module:

    class RedactionControllers < ActionController::Ba...
Wednesday, June 30 2010
5010 redirect_to a custom protocol is causing errors was updated in Ruby on Rails
  • Bruno Michel
    Bruno Michel commented at 6:49 PM

    42.com is valid: 42 is a domainlabel in that case, and com, the toplevel, starts by an alpha char.

  • Bruno Michel
    Bruno Michel commented at 5:06 PM

    --> hostname = *( domainlabel "." ) toplabel [ "." ]

    The trick is on this line. It should be read as: the toplabel is mandatory, but if you want, you can add a ...

  • Bruno Michel
    Bruno Michel commented at 1:26 PM

    If you redirect_to a custom protocol, like for to launch an iPhone app, and the URL part starts with a number, it throw an error. If I put a letter after the p...

Tuesday, June 29 2010
4924 "\xC2" from ASCII-8BIT to UTF-8 Internal Server Error was updated in Ruby on Rails
  • Bruno Michel
    • Importance changed from to Low
    by Bruno Michel at 10:21 PM

    You can add a comment in app/helpers/application_helper.rb to make it works:

    # encoding: utf-8
    

    It says to ruby-1.9.2 that strings in this particular file shou...

4919 distance_of_time_in_words should work with DateTime as argument was updated in Ruby on Rails
  • Bruno Michel
    Bruno Michel commented at 9:56 PM

    I don't see the problem on distance_of_time_in_words. Can you add a test in your patch to show it?

5006 ActiveSupport::BufferedLogger and us-ascii message on ruby 1.9.x was updated in Ruby on Rails
3299 HashWithIndifferentAccess#merge should accept block just like Hash#merge was updated in Ruby on Rails
  • Bruno Michel
    Bruno Michel commented at 9:39 PM

    I've updated the patch for Rails3.

5005 Error on assert_recognizes when used on a route with constraint was created in Ruby on Rails
  • Bruno Michel
    Bruno Michel created the ticket at 2:50 PM

    Hi,

    I've tried to use assert_recognizes to test a route with a constraint on it, but it generates an error.

    The route is:

    constraints :subdomain => "api" do
      ...