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.

Andre Foeken's latest activity

Monday, December 08 2008
1501 DateTime timezone support was updated in Ruby on Rails
  • Andre Foeken
    Andre Foeken commented at 6:23 AM

    I think the issue is that is feels unnatural that both classes behave so differently. I'd expect the same api to work for whatever form of Date/DateTime/Time cl...

Monday, December 01 2008
1501 DateTime timezone support was created in Ruby on Rails
  • Andre Foeken
    Andre Foeken created the ticket at 10:10 AM

    This might be a feature but it still seems strange to me. Time nicely uses the TimeZone but DateTime seems to fail to get the correct TimeZone.

    
    >> Time.now -...
Saturday, June 07 2008
361 validates_uniqueness_of broken was created in Ruby on Rails
  • Andre Foeken
    Andre Foeken created the ticket at 1:50 AM
    class Monkey << ActiveRecord::Base
      validates_uniqueness_of :code
    end
    

    Now in console:

    >> Monkey.create!( :code => "1" )
    >> Monkey.create!( :code => 1 )
    
360 Dirty tracking on serialized columns is broken was created in Ruby on Rails
  • Andre Foeken
    Andre Foeken created the ticket at 1:48 AM
    class Monkey < ActiveRecord::Base
      serialize legs, Array
    end
    

    Now in the console:

    >> m = Monkey.create
    >> m.changed? => false
    >> m.legs = [1,2,3]
    >> m.c...