arash
Not a member
arash's latest activity
Friday, June 04 2010
4767
Find ignore select when conditions & include are specfied
was created
in Ruby on Rails
-
arash created the ticket at 5:24 PMI 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 created the ticket at 9:09 PMThe 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
Wednesday, December 02 2009
3511
to_yaml fails for DateTime objects
was updated
in Ruby on Rails
-
arash commented at 10:51 PMDidn'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 created the ticket at 9:42 PMIt 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 ...