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.

dvdplm's latest activity

Wednesday, April 20 2011
6730 number_to_phone broken with empty number and area_code: true was created in Ruby on Rails
  • dvdplm
    dvdplm created the ticket at 3:12 PM

    This raises a "TypeError Exception: can't convert nil into String" exception:

        number_to_phone "", area_code: true
    

    These both work (returns ""):

        numbe...
Monday, February 07 2011
4957 Object#respond_to? and Object#inspect raise exception after allocate was updated in Ruby on Rails
  • dvdplm
    • Tag set to 3.0.3, active_record, attributes, persistence, serialization, yaml
    by dvdplm at 10:48 AM

    I can reproduce this. Serialization of objects that rely on #initialize -- particularly AR objects -- fails in AR::Base#object_from_yaml:

          def object_from...
Tuesday, December 28 2010
6047 [Patch] JSON.generate raises exception in v3.0.2 + json_pure => '~>1.4.3' was updated in Ruby on Rails
  • dvdplm
    dvdplm commented at 6:05 PM

    Confirmed in rails 3.0.3

Monday, May 11 2009
2591 Passing in Fixnum to First/Last Finders was updated in Ruby on Rails
  • dvdplm
    dvdplm commented at 3:32 PM

    @manfred: not sure how to "prove" that to you.

    So, once again, with feeling: +1 because the patch works. Tests pass. The change is small, but brings value. It h...

  • dvdplm
    dvdplm commented at 11:40 AM

    +1

    Let's get this one in!

Wednesday, March 25 2009
1272 ruby19 incompatibility: ActiveResource::Connection#http, use_ssl? was updated in Ruby on Rails
  • dvdplm
    dvdplm commented at 8:56 PM

    @brendan: thanks a lot! :)

Wednesday, February 04 2009
1872 use of undocumented (?) Net::HTTP method breaks 2.3 on Ruby 1.9.1 was created in Ruby on Rails
  • dvdplm
    dvdplm created the ticket at 2:04 PM

    ActiveResource::Connection#http uses the "use_ssl" method, but should really be using the "use_ssl?" predicate. The former rhymes well with the setter, "use_ssl...

Friday, December 05 2008
1516 Average, Maximum, Minimum on associations should return 0 when no rows are re... was updated in Ruby on Rails
  • dvdplm
    dvdplm commented at 9:56 AM

    +1 to consitency Sum does (and should) return 0 for an empty assoc, so average, max and min should as well.

    @chris barnett: yours look like a special case and I...

Sunday, October 26 2008
1272 ruby19 incompatibility: ActiveResource::Connection#http, use_ssl? was created in Ruby on Rails
  • dvdplm
    dvdplm created the ticket at 1:25 PM

    (I have no idea if this is the way you people want your bugs reported. The instructions are very very confusing; please forgive me if I'm doing this the wring w...