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.

José Valim's latest activity

Monday, January 31 2011
6208 Rails-3.0.3 - I18n.t does not treat 'number' as a string was updated in Ruby on Rails
  • José Valim
    • State changed from new to invalid
    by José Valim at 8:28 AM

    This is because Rails adds the number key to your locale files. They contain how the number helpers should be behave. Overwriting it is not recommended and it i...

Thursday, January 27 2011
6339 sexier migration that doesn't need the block parameter for create_table was updated in Ruby on Rails
  • José Valim
    • Assigned user changed from José Valim to Aaron Patterson
    by José Valim at 3:41 PM

    Ok, I am on the fence. :) Aaron Patterson is responsible for AR so I will defer the final decision to him.

  • José Valim
    • State changed from open to wontfix
    by José Valim at 12:37 PM

    Thanks for the patch, but I have -1.

    Using instance_eval changes the self.scope and usually causes a lot of confusion. For that reason, Rails avoids using insta...

Tuesday, January 25 2011
5875 render_to_string :json (or :xml or :update) before render results in DoubleRe... was updated in Ruby on Rails
  • José Valim
    • State changed from open to resolved
    by José Valim at 7:14 PM

    Applied, thanks Neeraj!

6320 Autoloading behaves weird when class caching is turned off was updated in Ruby on Rails
  • José Valim
    José Valim commented at 5:17 PM

    Owen, but you still have app/models/client1 which is a directory. Rails get confused about defining a module with client1 (which it does automatically for direc...

  • José Valim
    • State changed from new to wontfix
    • Importance changed from to Low
    by José Valim at 5:41 AM

    Rails is panicking when you add subdirectories of a given directory to autoload paths. In both cases, you will have in the load paths both app/models/ and app/m...

Friday, January 21 2011
5875 render_to_string :json (or :xml or :update) before render results in DoubleRe... was updated in Ruby on Rails
  • José Valim
    José Valim commented at 9:46 PM

    We could also change this file to properly handle nil. Wdyt?

  • José Valim
    José Valim commented at 7:34 PM

    Neeraj, do we need to manipulate the instance variable directly? Couldn't we simply call self.response_body = nil?

  • José Valim
    José Valim commented at 7:25 PM

    @BobLail, your first response_body does not work because you are creating a local variable instead of calling a method. "self.response_body = nil" should do the...

  • José Valim
    José Valim commented at 7:25 PM

    Patch seems to be empty. Neeraj, just tell me the commit hash in your fork please. :)