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.

Steve Purcell's latest activity

Sunday, April 24 2011
5570 Fragment cache logging fails in 3.0 when fragment path contains printf chars,... was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 4:49 PM

    Indeed. I still get the same error messages too. They didn't ever go away for me with any particular Rails release, so I'm not convinced that the fix was comple...

Monday, November 22 2010
2346 named_scope doesn't override default_scope's :order key was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 2:50 PM

    As of the 3.0.3 release, this bug is now present in the latest Rails. I can't comment on the proposed patch, but I will say that I haven't found a tidy way to w...

Monday, October 04 2010
5674 Regression: HABTM deletion fails when join table has foreign keys was updated in Ruby on Rails
Wednesday, September 22 2010
5674 Regression: HABTM deletion fails when join table has foreign keys was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 10:47 AM

    Cool, thanks! -- will that fix get into 3.0.1? I don't see it in the 3-0-stable branch, but maybe the plan is to merge master for that release.

Tuesday, September 21 2010
5674 Regression: HABTM deletion fails when join table has foreign keys was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 7:54 PM

    Indeed, though it's generally recommended to avoid ON DELETE CASCADE, since records can disappear without Rails knowing. For example, adding ON DELETE CASCADE t...

  • Steve Purcell
    Steve Purcell commented at 11:39 AM

    The attached patch to schema.rb causes the relevant tests to fail with the problem as described.

  • Steve Purcell
    Steve Purcell created the ticket at 11:19 AM

    Given models One and Two, where One declares "has_and_belongs_to_many :twos", it's no longer possible to delete an instance of One if there are corresponding ro...

Monday, September 20 2010
5570 Fragment cache logging fails in 3.0 when fragment path contains printf chars,... was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 8:41 PM

    Hmm, I think that the example given should have used "key:with:colons" rather than "key with spaces", since it looks like the problematic "%3A" was the result o...

Wednesday, September 08 2010
4808 Textarea input silently truncated in 2.3.8! was updated in Ruby on Rails
Tuesday, September 07 2010
5570 Fragment cache logging fails in 3.0 when fragment path contains printf chars,... was updated in Ruby on Rails
  • Steve Purcell
    Steve Purcell commented at 1:27 PM

    Sure.

    Example view code would look like this:

    cache(:foo => "key with spaces") do
      ... render something ...
    end
    

    where #cache is presumably ActionView::Helper...