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.

Brian Mitchell's latest activity

Friday, October 02 2009
1812 default_scope can't take procs was updated in Ruby on Rails
  • Brian Mitchell
    Brian Mitchell commented at 4:28 PM

    @Steffen There are issues that still won't work on that method. Specifically creation scopes (it uses a has_key? rather than a nil check last time I looked) as ...

Wednesday, September 09 2009
3168 A better way to avoid timing attacks on the message verifier was updated in Ruby on Rails
  • Brian Mitchell
    Brian Mitchell commented at 5:30 PM

    Grant, Right except... It was measured to make it statistically astronomical to attack. If you actually look at the entropy a sleep alone gives you it would pro...

Tuesday, September 08 2009
3168 A better way to avoid timing attacks on the message verifier was created in Ruby on Rails
Monday, August 03 2009
1812 default_scope can't take procs was updated in Ruby on Rails
  • Brian Mitchell
    Brian Mitchell commented at 9:38 PM

    I use something like this code: http://gist.github.com/160809

    A hash poser can take defaults or a block (default is used when the block returns nothing) which a...

  • Brian Mitchell
    Brian Mitchell commented at 8:41 PM

    Right. I actually don't use that patch. Instead I create an object that poses as a Hash which seems to work well (a hash with a proc passed is not enough since ...

Wednesday, January 28 2009
1812 default_scope can't take procs was created in Ruby on Rails
  • Brian Mitchell
    Brian Mitchell created the ticket at 10:24 PM

    The primary problem I have with the current implementation is that it only supports a hash as the argument. I'd like to be able to pass in a proc as well simila...

Wednesday, September 10 2008
474 Allow Hash to be passed into AssociationProxy setters and AssociationCollections was updated in Ruby on Rails
  • Brian Mitchell
    Brian Mitchell commented at 9:16 PM

    Any word on what might replace this functionality or is it gone for the time being?