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.

John Trupiano's latest activity

Tuesday, October 06 2009
3268 [PATCH] ERB in environment.rb after running rake dev was updated in Ruby on Rails
Monday, October 05 2009
2998 [PATCH] SQL generated by find ignores :include option was updated in Ruby on Rails
Sunday, October 04 2009
3316 has_many :through with :conditions fails was updated in Ruby on Rails
Tuesday, September 29 2009
3268 [PATCH] ERB in environment.rb after running rake dev was updated in Ruby on Rails
  • John Trupiano
    John Trupiano commented at 12:58 PM

    Can we push this patch through? Without it "rake dev" is broken.

2998 [PATCH] SQL generated by find ignores :include option was updated in Ruby on Rails
  • John Trupiano
    • Title changed from named_scope ignores :include option to [PATCH] SQL generated by find ignores :include option
    by John Trupiano at 12:56 PM

    This patch is good to be applied. Just changing the name to include PATCH and better describe the actual patch (original bug report was just a derivative manife...

Sunday, September 27 2009
3263 Failing functional test of a named route was updated in Ruby on Rails
  • John Trupiano
    John Trupiano commented at 4:13 PM

    verified, when removing the default routes this error does indeed occur.

    It's noteworthy that removing :method => 'get' from the route eliminates the problem.

3278 [PATCH] Allow PKG_NAME env variable to control the directory name used when ... was created in Ruby on Rails
  • John Trupiano
    John Trupiano created the ticket at 3:22 PM

    This one-line patch allows you to specify the PKG_NAME environment variable when running 'rake dev' to control the directory the new rails app is created in. By...

2998 named_scope ignores :include option was updated in Ruby on Rails
  • John Trupiano
    John Trupiano commented at 12:55 AM

    So it turns out the culprit was using symbols for keys in the conditions hash. Had you conversely used a string instead, this query would have worked.

    I have up...

Saturday, September 26 2009
3268 ERB in environment.rb after running rake dev was updated in Ruby on Rails
  • John Trupiano
    John Trupiano commented at 11:01 PM

    verified the issue
    +1, the patch applies cleanly and fixes the bug.

2998 named_scope ignores :include option was updated in Ruby on Rails
  • John Trupiano
    John Trupiano commented at 10:36 PM

    +1 verified

    I have attached a test case that demonstrates the error on the #find method (as per Luciano's finding).