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.

Adam S's latest activity

Monday, November 09 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
3464 serialize_fields not recording changes was updated in Ruby on Rails
  • Adam S
    Adam S commented at 12:38 AM

    Matt,
    Thanks for the links.

    I'm looking at the patch for #2764... It actually seems like the way to go about it. The data is serialized, so the only thing you c...

Thursday, November 05 2009
3464 serialize_fields not recording changes was created in Ruby on Rails
  • Adam S
    Adam S created the ticket at 6:22 PM
    class Model < ActiveRecord::Base
      serialize :extra_data, Hash
    end
    
    m = Model.new
    m.extra_data[:test] = 'test'
    m.changed
    => []
    

    I also find that models that us...

3392 rack.input requires ASCII-8BIT encoded StringIO was updated in Ruby on Rails
  • Adam S
    Adam S commented at 6:05 AM

    +1 works for me.

Thursday, October 08 2009
3347 gemspec does not include rspec files was created in Ruby on Rails
  • Adam S
    Adam S created the ticket at 4:47 AM

    Woops raised on wrong project.

    Please delete.

Wednesday, September 23 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
  • Adam S
    Adam S commented at 7:27 AM

    I'm not sure why people are using multibtye characters in most html... shouldn't you be using html entities? [1] Most (all?) html can be rendered using just the...

Friday, September 11 2009
3144 undefined method `^' for String - RoR 2.3.4 was updated in Ruby on Rails
  • Adam S
    Adam S commented at 2:56 AM

    I think the suggestion "always use the length of the item being compared to the secret so as not to reveal the length of the secret" is a great idea. This means...

Wednesday, September 09 2009
3144 undefined method `^' for String - RoR 2.3.4 was updated in Ruby on Rails
  • Adam S
    Adam S commented at 7:19 AM

    +1 patch applied cleanly.

  • Adam S
    Adam S commented at 6:11 AM

    I know it's only been a couple of days, but can we get this fixed soon?

    I too can't move to 2.3.4 because of this bug.

Friday, September 04 2009
2999 filter_parameter_logging throws exception with ruby 1.9.1 was updated in Ruby on Rails
  • Adam S
    Adam S commented at 9:32 AM

    I'm sorry, the updated test case above fails on both ruby 1.8 and 1.9, but the test logic is correct, it is the filter_parameter logic that needs updating.

    You ...