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.

VirtualFunction's latest activity

Monday, May 09 2011
6760 Very obscure issue with Ctrl + C in console not workng and periodic freezes was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 4:49 PM

    Yes, I noticed that too. However it doesn't stop the crashes, which I believe to be related. I've found that the more recent Natty Kernel and SVN trunk of Ruby ...

Sunday, May 01 2011
6760 Very obscure issue with Ctrl + C in console not workng and periodic freezes was created in Ruby on Rails
  • VirtualFunction
    VirtualFunction created the ticket at 2:42 AM

    There's a good chance this is a Ruby bug with the way it deals with process management, but I'm posting it here because Rails is the only place it affects me. N...

Friday, December 17 2010
4183 Possible memory leak in Rails 3 was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 10:35 AM

    @Jake...

    A lot of people don't realise, but you need to be very carefult if you are using class level variables or assigning any non primative type to a constan...

Wednesday, December 15 2010
5113 MissingTemplate issues in Rails 3.0 due to badly set MIME types... was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 12:52 AM

    Yes, the way I've been getting round this for the last 5 or so months I've been on Rails 3 I've used this:

    request.format = :html if request.format.to_s.include...

Saturday, August 28 2010
4429 Templates that use with_options... was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 10:05 PM

    Many thanks everyone with the recent activity here. Just curious, will these patches make HAML work as expected too? If not I assume I will need to also raise t...

Wednesday, July 14 2010
5113 MissingTemplate issues in Rails 3.0 due to badly set MIME types... was created in Ruby on Rails
  • VirtualFunction
    VirtualFunction created the ticket at 5:50 PM

    I've been having a very odd error under Rails 3.0 which has taken me some time to isolate.

    I recently moved a client's site to Rails 3.0 over the last couple of...

Friday, May 14 2010
4589 Issues with scopes/association proxies lazy/enum behavior ... was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 1:03 PM

    OK, thanks for getting back. Yes I should I've realized this this myself tbh... My bad, probably due to a lack of sleep.

    Could be worth making this clear in the...

Thursday, May 13 2010
4589 Issues with scopes/association proxies lazy/enum behavior ... was updated in Ruby on Rails
  • VirtualFunction
    VirtualFunction commented at 6:51 AM

    For your info, I'm using the trunk version of Rails, it's a streaming fresh copy, about few hours old.

  • VirtualFunction
    VirtualFunction commented at 6:50 AM

    OK, looks like this is specifically a scope issue, association proxies without scopes seem OK. For instance this fails:

    Channel.audio.select &:nil?

  • VirtualFunction
    VirtualFunction created the ticket at 6:49 AM

    This seems to have crapped up in trunk in recent days...

    lets say I have a setup like this:

    class User < ActiveRecord::Base
      has_many :channels
    end
    
    class Cha...