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.

Xavier Noria's latest activity

Tuesday, August 24 2010
5415 [PATCH] Replaces relative rdoc links with hyperlinks to the Rails API documen... was updated in Ruby on Rails
  • Xavier Noria
    Xavier Noria commented at 10:26 AM

    Excellent.

    If there's a conflict the API should win (the current relative links need to be revised anyway because they are not valid).

  • Xavier Noria
    • Assigned user set to Xavier Noria
    • Importance changed from to Medium
    by Xavier Noria at 7:29 AM

    Good!

    Could these links be relative? The API may also be generated to be read offline, for example with the doc:rails rake task.

Wednesday, August 11 2010
5218 Rails 3 RC does not autoload from lib/ was updated in Ruby on Rails
  • Xavier Noria
    Xavier Noria commented at 11:28 AM

    @Christian Yes I agree.

    The rationale for this change was not thread-safety. Please see the original patch.

    I am not defending this change, I understand the mot...

  • Xavier Noria
    Xavier Noria commented at 10:45 AM

    @Neeraj it has been reverted: http://github.com/rails/rails/commit/7e2399a42feb47407ad0cb06888158...

    There are technical difficulties, because you can't autolo...

  • Xavier Noria
    Xavier Noria commented at 10:39 AM

    @RailsFanatic look, I have been only helping with the questions here. Given this patch is in, how to adapt. And my wording is relative because I am indeed expla...

Monday, August 09 2010
5252 ActiveModel Naming should take care of anonymous classes was updated in Ruby on Rails
  • Xavier Noria
    Xavier Noria commented at 2:19 PM

    Cool! Yeah in addition to being encapsulated, #name returns either an empty string or nil for anonymous classes/modules, depending on the interpreter.

    Rails no ...

  • Xavier Noria
    • Importance changed from to Low
    by Xavier Noria at 1:32 PM

    Don't know about the solution as such, just wanted to comment that AS defines #anonymous? and if the patch is fine it would be preferred over the comparison by ...

Sunday, August 01 2010
5218 Rails 3 RC does not autoload from lib/ was updated in Ruby on Rails
  • Xavier Noria
    Xavier Noria commented at 8:39 PM

    There's no magic bullet in my view. It depends on one's preferences
    and on every application's needs. That's why I said before that it is
    fine that people organ...

  • Xavier Noria
    Xavier Noria commented at 7:41 PM

    Not sure.

    While it can't be said it is a bad practice per se, it is not
    something you want to encourage either. It could be the case that
    after Rails 3 lib is s...

  • Xavier Noria
    Xavier Noria commented at 6:28 PM

    @Mateo, re best practice: no matter whether you put stuff in lib or on some custom folder like app/observers, etc., it is totally fine that you want that stuff ...