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.

JasonKing's latest activity

Friday, April 30 2010
3486 Alternative to validates_uniqueness_of using db constraints was updated in Ruby on Rails
  • JasonKing
    JasonKing commented at 6:07 PM

    This would require more changes to the AR API, to expose those error numbers before these exceptions are thrown.

    Generally, I think this would be a really good ...

Friday, March 12 2010
1988 Make utf8 partial rendering from within a content_for work in ruby1.9 was updated in Ruby on Rails
  • JasonKing
    JasonKing commented at 12:22 AM

    What's pending on this issue Jeremy?

    When you say "non-utf8" encodings - do you mean ASCII_8BIT and US_ASCII? Ie. does the patch not work with ASCII?

    Or do you ...

Tuesday, February 09 2010
3915 rubygems loaded twice was updated in Ruby on Rails
Thursday, November 19 2009
3486 Alternative to validates_uniqueness_of using db constraints was updated in Ruby on Rails
  • JasonKing
    JasonKing commented at 6:30 PM

    ...although, the core behavior should be consistent - ie. throw an exception on any DB error. The Rails user should have to do something in order to get the spe...

  • JasonKing
    • Tag cleared.
    by JasonKing at 6:21 PM

    That looks really nice. I don't have time to test it right now, but +1 on a read-through.

2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • JasonKing
    JasonKing commented at 6:26 PM

    arzvi - "rails newbie"s really shouldn't be trying to apply patches to the Rails core. Just wait for the 3.0 release.

Friday, September 18 2009
3226 [PATCH] form_for for new objects with :index set was updated in Ruby on Rails
  • JasonKing
    JasonKing commented at 5:43 PM

    As mentioned in the core mailing list...

    I wonder if there's room in your patch for something feeding automatically from the object? As well as having the expli...