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.

Harm Aarts's latest activity

Friday, September 10 2010
1221 Association extensions and scopes on the associated model behave inconsistantly was updated in Ruby on Rails
  • Harm Aarts
    • Assigned user set to Frederick Cheung
    by Harm Aarts at 12:53 PM

    How is this "resolved"? IMHO this is still broken. Using Rails 2.3.8 and Ruby 1.9.1

Thursday, July 01 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
Thursday, June 17 2010
4680 Rails 2.3.7 and Ruby 1.9: invalid byte sequence in US-ASCII was updated in Ruby on Rails
  • Harm Aarts
    Harm Aarts commented at 2:43 PM

    FYI I think the upgrade from TMail 1.2.3 to 1.2.7 is responsible for the last error. The to_s method in Tmail (encoding.rb) looks iffy.

  • Harm Aarts
    Harm Aarts commented at 1:50 PM

    It appears that all regexes are affected, I get this error too when sending email:
    /gems/actionmailer-2.3.8/lib/action_mailer/utils.rb, line 4

Tuesday, June 15 2010
4680 Rails 2.3.7 and Ruby 1.9: invalid byte sequence in US-ASCII was updated in Ruby on Rails
  • Harm Aarts
    Harm Aarts commented at 6:11 PM

    I believe I have a related error in actionpack-2.3.8/lib/action_view/template_handlers/erb.rb. Line 14 uses a regex which dies when the encoding is not checked.

    ...
Tuesday, June 08 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • Harm Aarts
    • Tag changed from 2.3.5, 2.3.6, activerecord, activeresource, rspec_rails to 2.3.5, 2.3.6, 2.3.8, activerecord, activeresource, rspec_rails
    by Harm Aarts at 11:37 AM

    The problem persists with Rails 2.3.8 and rspec-rails 1.3.2 (which includes Lee's patch). I believe the problem is related to ActiveResource.

Thursday, September 24 2009
3255 Parameter :requirements in routing doesn't use implicit anchors was updated in Ruby on Rails
  • Harm Aarts
    • Tag changed from 2.3.4, regular, resources, routing to 2.3.4, expressions, regular, resources, routing
    by Harm Aarts at 10:23 AM
  • Harm Aarts
    Harm Aarts created the ticket at 10:22 AM

    Consider the following route:
    map.detail "subscription_plans/:provider/:plan", :action =>
    "detail", :requirements => {:plan => /[^ ]+/}

    I want this route to mat...

Wednesday, March 18 2009
2273 ActiveSupport::JSON.decode dies on double escaped string was updated in Ruby on Rails
  • Harm Aarts
    • Title changed from ActiveSupport::JSON.decode dies on long file to ActiveSupport::JSON.decode dies on double escaped string
    by Harm Aarts at 10:24 AM

    Say the content of a file is this: {"a":"\/\/\/\/\/","b":"2009-03-17 14:20:42",some_key Then reading that string with File.open("file_name").read yields this st...

Tuesday, March 17 2009
2273 ActiveSupport::JSON.decode dies on long file was updated in Ruby on Rails
  • Harm Aarts
    Harm Aarts commented at 4:26 PM

    I believe the marks are counted wrong in the file activesupport-2.3.2/lib/active_support/json/decoding.rb line 41. The datetime field contains colons (:) and th...