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.

Thomas Watson's latest activity

Monday, August 10 2009
1896 content_for not rendering from partials in layout was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 11:16 AM

    Hmmm... I get this bug to in Rails 2.3.2.

    Ryan Bates did a RailsCast on this back in 2007. But now, suddenly a lot of comments are appearing on the episode page...

Wednesday, July 15 2009
2912 has_one through fails when setter is overridden using alias_method was created in Ruby on Rails
  • Thomas Watson
    Thomas Watson created the ticket at 10:43 PM

    When using alias_method to override a setter method for a has_one :through association, an undefined method error occurs when the alias method is called:

    undef...
Monday, June 15 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 7:53 PM

    Sorry for the formatting :( Why doesn't Lighthouse have a preview-before-post feature??
    Here goes nothing - sorry if I'm spamming you once again...

    What in Rail...

  • Thomas Watson
    Thomas Watson commented at 7:47 PM

    I don't know the following is releated, but when researching this bug I found that the where-clause created by ActiveRecord changed at some point between 2.1.2 ...

Monday, February 16 2009
1891 config.gem with multiple sources was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 11:27 AM

    Is this what causes my gems:install to fail when installing a gem from GitHub (using :sources => "http://gems.github.com") that has a regular dependency?

    gem in...

Sunday, June 15 2008
386 Nested content_tag calls causes the layout to render multiple times. was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 11:03 PM

    What was it that took up processor time and memory? Was it the check to verify if '_erbout' existsed on the binding or was it the push to 'ActionView::Base.erb...

Friday, June 13 2008
386 Nested content_tag calls causes the layout to render multiple times. was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 2:26 PM

    As far as I can see (and please bear with me if I don't get it right - it's the first time I look into the ActionView source), the problem is that concat (_act...

Thursday, June 12 2008
386 Nested content_tag calls causes the layout to render multiple times. was updated in Ruby on Rails
  • Thomas Watson
    Thomas Watson commented at 6:21 PM

    Ups... The comment field did not escape my html tags as I expected... trying again:

    The above code should output "<h1>Foobar</h1>", but outputs "<h1></h1>"

  • Thomas Watson
    Thomas Watson commented at 6:18 PM

    Same problem here... all my views are rendered twice.

    During my debugging of this issue I tried to output the return value of a content_tag that where given a...