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.

Tom Lea's latest activity

Wednesday, August 20 2008
871 content_tag_for should behave like content_tag was created in Ruby on Rails
  • Tom Lea
    Tom Lea created the ticket at 5:36 PM

    The attached patch allows content_tag_for to be used in all cases where content_tag should work.

    As it stands calling content_tag_for in a helper, with a block...

Monday, August 18 2008
852 Named Scope respond_to? error coercing to array. was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 6:23 PM

    This could be a Ruby version issue... I'm running...

    
    ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-darwin9]
    

    Seems to be OK on 1.8.5 and 1.9... is anyone else s...

  • Tom Lea
    Tom Lea created the ticket at 5:53 PM

    test_has_many_associations_have_access_to_named_scopes and test_has_many_through_associations_have_access_to_named_scopes from named_scope_test.rb were erroring...

785 Caching models fails in development was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 2:14 PM

    @Ryan, figured out why there was no sign of the test failing, looks like it was removed. I tried to reconstruct the test again using updated interfaces, but I c...

Sunday, August 17 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Tom Lea
    • Tag changed from cache, patch to activerecord, activesupport, bug, cache, patch
    by Tom Lea at 11:12 PM

    @jshumate this basically comes down to you caching the old object with it's old methods and old behaviour. As far as I am aware, there is no magic to prevent th...

Saturday, August 16 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 10:33 PM

    @jshumate are you failing to see changes to cached objects, or new instances?

    Cached objects will keep a reference to their original class and methods, so chan...

  • Tom Lea
    Tom Lea commented at 3:44 PM

    I'm wondering if this fixed the memleek issue and not the initial adding of those two lines... I'll try and do more investigation when I get time.

Friday, August 15 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Tom Lea
    • Tag changed from cache, patch to activerecord, bug, dependencies, patch
    by Tom Lea at 5:18 PM

    New lead: It seems that all inheritable_attributes are going missing... but only on AR objects. Using inheritable_attributes on none AR objects works fine after...

  • Tom Lea
    Tom Lea commented at 11:17 AM

    s/Ruby objects get disjointed from their classes on initialization./Ruby objects get disjointed from the constant that references their class on initialization....

  • Tom Lea
    Tom Lea commented at 10:46 AM

    @Rob: It seems Giles is referring to the opposite effect. Ruby objects get disjointed from their classes on initialization.

    This has been true for a long time ...