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.

Caio Chassot's latest activity

Thursday, May 21 2009
json.diff was uploaded by Caio Chassot at 6:26 PM to #2690, Ruby on Rails
2690 #to_json not working because always being called on Object was created in Ruby on Rails
  • Caio Chassot
    Caio Chassot created the ticket at 6:24 PM

    to_json is aliased from rails_to_json on the Object class, while in all other classes (String, Hash, etc.), only rails_to_json is defined.

    The overriden rails_t...

Monday, September 08 2008
948 template lookup should search controller inheritance chain was updated in Ruby on Rails
  • Caio Chassot
    Caio Chassot commented at 6:26 PM

    On having to patch actionview, if you just patch actionview the way I did, and have it ask the controller for the template, then the plugin wouldn't need to orv...

  • Caio Chassot
    Caio Chassot commented at 6:24 PM

    Template finding is quite spaghettied into the various rails components. Controllers find action templates one way, then views find partials another, and action...

  • Caio Chassot
    • Tag changed from actionpack, edge, enhancement to actionpack, edge, enhancement, patch
    by Caio Chassot at 4:20 AM

    Here's a patch.

    Only handling actionpack, no actionmailer.

    Passes all tests, no new tests added.

    I think such a feature would deserve at least a test for the co...

  • Caio Chassot
    Caio Chassot commented at 4:11 AM

    Running into some issues with actionmailer tests. Which reminds me, should I implement inheritable templates for actionmailer too?

    In the name of consistency, i...

  • Caio Chassot
    Caio Chassot commented at 3:13 AM

    The plugin handles partials as well.

    I'll work on a patch now.

Monday, September 01 2008
948 template lookup should search controller inheritance chain was created in Ruby on Rails
  • Caio Chassot
    Caio Chassot created the ticket at 7:23 AM

    (Josh, I briefly mentioned this to you via email.)

    Here's the gist of the feature:

    Say you have:

    DocumentsController < ApplicationController ArticlesController ...