Sai Emrys
Not a member
Sai Emrys's latest activity
Sunday, March 14 2010
4176
Make change_table execute changes in batch
was created
in Ruby on Rails
-
Sai Emrys created the ticket at 6:49 PMCurrently, change_table executes every change as an ALTER TABLE in sequence.
This is extremely inefficient if making multiple changes, especially for a large ta...
Sunday, January 24 2010
3764
ActiveRecord through reflections has recursion bug
was updated
in Ruby on Rails
-
Sai Emrys commented at 1:01 AMI don't know Rails' testing framework well enough to do so, sorry.
But the error is fairly evident just from looking through the calls.
Thursday, January 21 2010
3764
ActiveRecord through reflections has recursion bug
was created
in Ruby on Rails
-
Sai Emrys created the ticket at 9:08 AMIn 2.3-stable, rails/activerecord/lib/active_record/reflection.rb:309 (source_reflection) calls klass.
klass in turn calls derive_class_name, which - if options...
Wednesday, December 16 2009
3588
:autosave => true + accepts_nested_attributes_for = circular validation & blo...
was updated
in Ruby on Rails
-
-
Sai Emrys created the ticket at 9:52 PMConsider the following:
class Discussion < ActiveRecord::Base belongs_to :context, :polymorphic => true has_many :messages, :dependent => :destroy, :invers...
Thursday, October 22 2009
3410
Time - TimeWithZone fails (sometimes)
was updated
in Ruby on Rails
-
-
Sai Emrys created the ticket at 7:28 AM38 :> x = Time.zone.now => Thu, 22 Oct 2009 06:23:32 UTC 00:00 39 :> y = Time.now => Wed Oct 21 23:23:35 -0700 2009 40 :> x.class => ActiveSuppo...
1339
AR::Base should not be nuking its children, just because it lost interest
was updated
in Ruby on Rails
-
Sai Emrys commented at 5:13 AMI have this issue when using acts_as_versioned in rails 2.3.4 (also previously in 2.3.2).
This works:
Profile.first.updater.login
This blows up on create_time_z...