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.

Luca Guidi's latest activity

Monday, September 27 2010
5708 Rails 3.0 yield :name doesn't show content_for :name was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 8:43 PM

    IMO this isn't a bug, because AV renders the template first then the layout.

    In your example:
    1. The template is being rendered (main yield)
    2. AV starts with t...

Saturday, June 12 2010
4842 [PATCH] ActionDispatch MemCacheStore violates encapsulation principle was created in Ruby on Rails
  • Luca Guidi
    Luca Guidi created the ticket at 11:29 AM

    When pass :cache param to ActionDispatch::Session::MemCacheStore, it should be removed from options, otherwise it remains "published". This violates the OOP enc...

Wednesday, November 25 2009
2383 SqlBypass session store doesn't use ActiveRecord::Base connection was updated in Ruby on Rails
Friday, August 07 2009
1950 ActiveSupport: alternative Block execution on empty Enumerable was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 2:43 PM

    @blatyo which name do you suggest?

Thursday, August 06 2009
1950 ActiveSupport: alternative Block execution on empty Enumerable was updated in Ruby on Rails
Monday, July 06 2009
2251 AssociationCollection#destroy should only delete join table records was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 11:26 AM

    Will, I don't agree: :dependent => :destroy was designed for the opposite use case:

    class task < ActiveRecord::Base
      belongs_to :project, :dependent => :destr...
Tuesday, June 16 2009
2738 [PATCH] Fix zero length stylesheet cache files bug in case of missing CSS files was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 10:09 AM

    Oh sorry, I'm wrong. It isn't declared twice, but hey have very similar code..

  • Luca Guidi
    Luca Guidi commented at 10:04 AM

    Christos, in your patch, #ensure_stylesheet_sources! is declared twice, please can you clean the code?
    Applied, all tests pass.
    +1

Saturday, June 13 2009
2800 [PATCH] Bytes calculation speed up for ActiveSupport was created in Ruby on Rails
  • Luca Guidi
    Luca Guidi created the ticket at 11:56 AM

    The current bytes calculation is inefficient, because every time it instantiate a Fixnum (1024) and generates a lot of method calls. Example: if I call 16.gigab...