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.

Sam Granieri's latest activity

Thursday, January 14 2010
3690 [PATCH] ./script/dbconsole is broken in edge rails was updated in Ruby on Rails
Monday, March 09 2009
2181 Default Scope with conditions on create was updated in Ruby on Rails
  • Sam Granieri
    • Assigned user cleared.
    by Sam Granieri at 4:46 PM

    Attached a patch for a proposed fix

  • Sam Granieri
    Sam Granieri created the ticket at 4:30 PM

    I noticed something really weird with default scope.

    In one scenario, imagine if you have a model named Car, with a string attribute called color.

    By default, y...

Friday, March 06 2009
1111 String#parameterize should accept a custom separator was updated in Ruby on Rails
2157 [PATCH] Custom Separators for String Parameterizing was created in Ruby on Rails
  • Sam Granieri
    Sam Granieri created the ticket at 8:31 PM

    This patch will allow strings to have custom separators when you call parameterize. It merely calls Inflector.parameterize with a custom separator, or the defau...

Monday, February 23 2009
1992 f.label should work for targeting f.radio_button was updated in Ruby on Rails
2050 Ruby1.9: Removed a Regexp API warning was created in Ruby on Rails
  • Sam Granieri
    Sam Granieri created the ticket at 3:30 AM

    I installed Ruby1.9 and ran the tests, and found what looks like a simple bug.

    /Users/sam/Development/Ruby/rails/rails/actionpack/lib/action_controller/routing...

Thursday, July 24 2008
697 Load ActionMailer templates only if it is included in configuration.frameworks was created in Ruby on Rails
  • Sam Granieri
    Sam Granieri created the ticket at 7:27 PM

    I'm developing on edge, and my app doesnt currently require ActionMailer or ActiveResource, so I disabled them in RAILS_ROOT/config/environment.rb

    config.fram...

Tuesday, April 22 2008
37 Tell git to ignore generated documentation was created in Ruby on Rails
  • Sam Granieri
    Sam Granieri created the ticket at 10:52 PM

    I ran rake rdoc in the root level of my locally cloned fork of the rails repository, did some work, and then ran git status. I'd rather not be asked by git to ...