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.

Glenn Powell's latest activity

Monday, July 06 2009
1980 Let engines ship their own initializers? was updated in Ruby on Rails
Thursday, May 07 2009
2549 memoize fails to handle default parameter = false was updated in Ruby on Rails
  • Glenn Powell
    Glenn Powell commented at 1:58 PM

    Kurt, Thanks for the explanation. I'll try to work around it for now.

  • Glenn Powell
    Glenn Powell commented at 7:12 AM

    Well, actually I don't think my problem has to do with the result of the memoized method necessary, but more with the fact that the value of the default paramet...

Tuesday, May 05 2009
2549 memoize fails to handle default parameter = false was updated in Ruby on Rails
  • Glenn Powell
    Glenn Powell commented at 3:09 PM

    Is anyone else experiencing this behavior?

Thursday, April 23 2009
2549 memoize fails to handle default parameter = false was created in Ruby on Rails
  • Glenn Powell
    Glenn Powell created the ticket at 12:01 PM

    I have a memoized method:

    
    def some_method(param1, param2 = false)
      return param2
    end
    memoize :some_method
    

    But, for some reason it fails to handle the p...

Wednesday, March 18 2009
2286 Problem when mixing symbols/strings as association names was created in Ruby on Rails
  • Glenn Powell
    Glenn Powell created the ticket at 3:18 PM

    I'm not sure if this is a bug, but I'm pretty sure it worked differently in previous Rails versions, and it isn't documented for 2.3.

    When you create an associa...

Saturday, February 07 2009
1712 "Template is missing" error for engine in production environment was updated in Ruby on Rails
  • Glenn Powell
    Glenn Powell commented at 8:51 PM

    Or another simple fix where you don't have to mess with the core code, is to just append the engine paths by hand into ApplicationController.view_paths at the e...

Monday, February 02 2009
323 has_many :through => belongs_to_association bug was updated in Ruby on Rails
  • Glenn Powell
    Glenn Powell commented at 6:08 PM

    Yes, now I've gone ahead and tried it out in Rails Edge 2.3, but it still fails with the same error.

    Frederick, do you still have a link to that patch? I'd be i...

  • Glenn Powell
    Glenn Powell commented at 4:06 PM

    I'm actually still seeing something which I believe is a result of this problem. (I am on 2.2, perhaps it's fixed in 2.3)

    I have this relationship:

    
    class Foo...
1167 has_one :through using belongs_to produces incorrect SQL was updated in Ruby on Rails
  • Glenn Powell
    Glenn Powell commented at 4:02 PM

    My post got chewed up, but I think you can see the gist of it