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.

Rainer Blessing's latest activity

Monday, August 09 2010
3084 built polymorphic association incorrectly returns nil for associated record was updated in Ruby on Rails
  • Rainer Blessing
    • Tag changed from association, collection.build, polymorphic, polymorphic_association, resolved to association, collection.build, polymorphic, polymorphic_association
    by Rainer Blessing at 5:10 PM
  • Rainer Blessing
    • Tag changed from association, collection.build, polymorphic, polymorphic_association to association, collection.build, polymorphic, polymorphic_association, resolved
    • Importance changed from to
    by Rainer Blessing at 8:32 AM

    I tested this with Rails 2.3.8 and 3.0.0.RC. Both times c.addresses.build.addressable returned the Company object.

Thursday, August 05 2010
5262 Calling #method on new AR objects was updated in Ruby on Rails
  • Rainer Blessing
    Rainer Blessing commented at 6:52 PM

    I tried it with 2.3.8 and 2-3-stable and didn't get the error.
    If either u.method(:email).call or u.email is called the execution path runs through method_missi...

Tuesday, August 03 2010
3940 Active record dynamic finder symbol gets converted to yaml was updated in Ruby on Rails
  • Rainer Blessing
    • Tag changed from active_record, quoting to active_record, patch, quoting
    by Rainer Blessing at 7:50 PM

    The conversion of the value to YAML was there since the first commit of quoting.rb by DHH.
    I changed the conversion of the value to a string and added a test fo...

Thursday, June 17 2010
4862 radio_button can generate duplicate id attributes (invalid HTML) was updated in Ruby on Rails
  • Rainer Blessing
    • Tag set to patch
    by Rainer Blessing at 7:24 PM
  • Rainer Blessing
    Rainer Blessing commented at 6:52 PM

    Only word characters (letters, digits, and underscores) are used from the value attribute. The attached patch would also allow a minus character.