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.

arash's latest activity

Friday, June 04 2010
4767 Find ignore select when conditions & include are specfied was created in Ruby on Rails
  • arash
    arash created the ticket at 5:24 PM

    I expected that if I specify the :select option inside a find tag, it will always be respected; but apparently, if also specify conditions which rely on an 'inc...

Wednesday, May 05 2010
4538 ActiveRecord.clone does not clear out timestamps was created in Ruby on Rails
  • arash
    arash created the ticket at 9:09 PM

    The docs says that a cloned object is 'treated as a new record', however the updated_at/created_at timestamps seems to be persisted after the save! This is a bi...

Thursday, December 17 2009
3511 to_yaml fails for DateTime objects was updated in Ruby on Rails
  • arash
    arash commented at 2:54 AM

    thanks for taking care of this.

Wednesday, December 02 2009
3511 to_yaml fails for DateTime objects was updated in Ruby on Rails
  • arash
    arash commented at 10:51 PM

    Didn't have time to dig into the TimeWithZone source, so I am temporarily using this patch:

    module ActiveSupport
      class TimeWithZone
        def datetime_to_i
       ...
Wednesday, November 25 2009
3511 to_yaml fails for DateTime objects was created in Ruby on Rails
  • arash
    arash created the ticket at 9:42 PM

    It seems that if an ActiveRecord object contains a DateTime, to_yaml errors out:

    Loading development environment (Rails 2.3.4)
    >> y = YamlExample.new(:my_date ...