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.

Damien MATHIEU's latest activity

Thursday, May 20 2010
4655 add _delete key for accepts_nested_attributes_for ? was updated in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU commented at 8:25 AM

    I wouldn't be sure there's the need for two different attributes. The behavior of the nested model depends of the relation configuration.
    Here, you don't want t...

4657 Remove unnecessary meta programming from polymorphic_routes.rb was updated in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU commented at 7:33 AM

    I also think the comments makes it explicit enough. There's no need to do code repetition for this here.

Wednesday, May 19 2010
4624 router does not accept member for resource was updated in Ruby on Rails
Tuesday, May 18 2010
1112 "redundant UTF-8 sequence" in String#to_json was updated in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU commented at 2:26 PM

    The patch won't work. It breaks the encoding on some characters (including รจ). The bug remains however.

Monday, May 17 2010
1112 "redundant UTF-8 sequence" in String#to_json was updated in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU commented at 4:54 PM

    I wouldn't be so sure it's stale. Or at least, there's a bug somewhere else.

  • Damien MATHIEU
    • Tag changed from activesupport, bug, patch to activesupport, bug, bugmash, patch
    by Damien MATHIEU at 4:14 PM
Wednesday, May 12 2010
4584 cache_sweeper returns a blank page without log was created in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU created the ticket at 4:34 PM

    I'm trying to do some fragment caching.
    And to clear the cache whenever some objects are created/updated.

    However it seems cache_sweeper doesn't works as we'd e...

Monday, April 26 2010
4478 Impossibility to mount a Sinatra app was created in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU created the ticket at 12:54 PM

    It's currently impossible to mount any Sinatra application on rails3.
    The route is recognized by the rake routes command. But whenever we go to it in the browse...

Thursday, April 22 2010
4440 Inappropriate route was updated in Ruby on Rails
  • Damien MATHIEU
    Damien MATHIEU commented at 9:22 AM

    Yeah of course.
    I've decided to move the admin pages to a scope too. So in the end, I get the following :

    scope '/me' do
        resources :pages, :except => [:ind...
  • Damien MATHIEU
    Damien MATHIEU commented at 9:02 AM

    I didn't do a match for categories#show because I have other routes belonging to the category.
    In fact the problem was just because of routing priorities with t...