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.

Nando Vieira's latest activity

Tuesday, April 20 2010
4443 url_for doesn't accept dot characters was updated in Ruby on Rails
  • Nando Vieira
    • Tag changed from bug, rails3, url_for to 3.0.0.beta3, bug, rails3, url_for
    by Nando Vieira at 2:28 PM
  • Nando Vieira
    • Tag changed from rails3 url_for bug to bug, rails3, url_for
    by Nando Vieira at 2:26 PM
  • Nando Vieira
    Nando Vieira created the ticket at 2:26 PM

    When I have a route like

    get '/:page' => "pages#show", :constraints => {:page => /.+/}, :as => :page
    

    Rails raises an error if I try to use a route like

    <%= l...
Wednesday, December 23 2009
3609 accepts_nested_attributes_for is using the :conditions hash from has_one asso... was created in Ruby on Rails
  • Nando Vieira
    Nando Vieira created the ticket at 4:53 PM

    I don't know if is a bug or not (I believe so because it makes no sense on using the conditions hash) but something like this:

    class Account < ActiveRecord::Ba...
Sunday, December 21 2008
1174 named_scope doesn't work when 2 procs expect arguments was updated in Ruby on Rails
  • Nando Vieira
    Nando Vieira commented at 11:18 AM

    Make sense... I didn't remember the sort_by method. :/

Wednesday, November 05 2008
1290 ActiveRecord raises randomly, apparently a TimeZone issue was updated in Ruby on Rails
  • Nando Vieira
    Nando Vieira commented at 10:53 PM

    Yay!!!! Will this patch be applied on edge?

Monday, November 03 2008
1290 ActiveRecord raises randomly, apparently a TimeZone issue was updated in Ruby on Rails
  • Nando Vieira
    Nando Vieira commented at 1:55 AM

    Setting self.skip_time_zone_conversion_for_attributes to an empty array or [:created_at] doesn't solve the problem. Anything else?

Sunday, November 02 2008
1290 ActiveRecord raises randomly, apparently a TimeZone issue was updated in Ruby on Rails
  • Nando Vieira
    Nando Vieira commented at 10:48 PM

    Geoff,

    All classes are being loaded correctly.

    
    SUCCESS REQUEST
    ===========
    
    === User is inheriting attributes from ActiveRecord::Base. @inheritable_attribute...
  • Nando Vieira
    Nando Vieira commented at 9:28 PM

    Geoff,

    Setting config.cache_classes = truestopped raising this error.

    About the logging method you created, I'm receiving this error:

    
    /Users/fnando/Sites/wii...
Saturday, November 01 2008
1290 ActiveRecord raises randomly, apparently a TimeZone issue was updated in Ruby on Rails
  • Nando Vieira
    Nando Vieira commented at 2:34 PM

    I'm using the Mac OS X 10.5 Ruby:

    $ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]

    My time zone is also set to UTC but I overwrite it when...