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.

Guillermo Álvarez's latest activity

Thursday, February 12 2009
1954 Dirty Objects: attribute_reset was created in Ruby on Rails
  • Guillermo Álvarez
    Guillermo Álvarez created the ticket at 7:01 PM

    These patch implements attribute_reset so i can reset just and attribute.

    The first attemp was

    
    post.reset(:title)
    

    But following the dirty objects style i u...

Saturday, February 07 2009
1907 Class methods which call named_scopes lose previous scope (both associations ... was updated in Ruby on Rails
1901 objects created by find_or_create_by_ methods do not call after_initalize/aft... was updated in Ruby on Rails
1847 to_sentence breaks api was updated in Ruby on Rails
  • Guillermo Álvarez
    • Tag changed from 2.3, active_support to 2.3, active_support, i18n, patch, tested
    by Guillermo Álvarez at 6:19 PM

    Posible solution with tests

Monday, January 12 2009
1736 Now explicit serializated objects retuns new objects when nil was updated in Ruby on Rails
  • Guillermo Álvarez
    Guillermo Álvarez commented at 1:45 PM

    No. These patch don't change the default behavior.

    When you do something like these

    
      serialize :properties
    

    The behaviour is the same. You can set nil to p...

  • Guillermo Álvarez
    Guillermo Álvarez created the ticket at 1:03 PM

    Now explicit serializated objects retuns new objects when nil. I think these is the expected behavior

    
        class Topic < AR::Base
          serialize :content
     ...
Monday, December 01 2008
1497 New default backtrace filter for Gems was updated in Ruby on Rails
Tuesday, October 28 2008
1200 "IP spoofing attack" breaks with some proxies was updated in Ruby on Rails
  • Guillermo Álvarez
    • Title changed from "IP spoofing attack" breaks with some mobile phones to "IP spoofing attack" breaks with some proxies
    by Guillermo Álvarez at 12:10 PM

    I have the same problem.

    I think is a bug, since http://en.wikipedia.org/wiki/X-F... says that the first element of HTTP_X_FORWARDED_FOR must be the same of HTT...

  • Guillermo Álvarez
    • Tag set to actionpack, bug, remote_ip, spoofing
    by Guillermo Álvarez at 12:04 PM

    I have the same problem.

    I think is a bug, since http://en.wikipedia.org/wiki/X-F... says that the first element of HTTP_X_FORWARDED_FOR must be the same of HTT...

Wednesday, September 10 2008
215 [PATCH] ActiveRecord::Base.each instance method was updated in Ruby on Rails
  • Guillermo Álvarez
    • Title changed from ActiveRecord::Base.each instance method to [PATCH] ActiveRecord::Base.each instance method
    by Guillermo Álvarez at 9:27 AM