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.

Mateo Murphy's latest activity

Tuesday, August 24 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
Tuesday, August 03 2010
3610 has_many :through associations may not respect default_scope :conditions was updated in Ruby on Rails
  • Mateo Murphy
    Mateo Murphy commented at 5:27 PM

    No, technically it's not a bug. But intuitively it feels like one :) it may be a feature worth exploring

  • Mateo Murphy
    Mateo Murphy commented at 4:50 PM

    The problem I was having was that I was expecting the default_scope of the join model to be applied, which does not happen: i.e.

    class Blog < ActiveRecord::Bas...
  • Mateo Murphy
    Mateo Murphy commented at 3:52 PM

    Note that the issue is with has_many :through, not regular has many. However I haven't been able to reproduce the problem in a simple test, so there may be some...

  • Mateo Murphy
    Mateo Murphy commented at 3:57 AM

    Just ran into this issue using while using the "paranoid" gem. I don't think it's related to the conditions hash, since the paranoid gem uses the string syntax ...

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

    It could be the case that after Rails 3 lib is seen as a place where you put stuff that it is naturally required rather than autoloaded.

    Sure, but then what d...

  • Mateo Murphy
    Mateo Murphy commented at 6:39 PM

    @Xavier may I suggest then, changing the generated config/application.rb,

        # Custom directories with classes and modules you want to be autoloadable.
        # ...
  • Mateo Murphy
    Mateo Murphy commented at 4:48 PM

    I'm not sure about this change; I've traditionally kept things like form builders in the lib folder, expecting them to be autoloaded when I first referenced the...

Saturday, March 06 2010
4057 Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options ha... was updated in Ruby on Rails
  • Mateo Murphy
    Mateo Murphy commented at 5:41 PM

    +1 This would definitely be helpful for plugin development