Tanel Suurhans
Not a member
Tanel Suurhans's latest activity
Friday, April 30 2010
4503
Polymorphic belongs_to with blank values causes unwanted behavior
was updated
in Ruby on Rails
-
Tanel Suurhans commented at 11:35 AMAdded a patch for current master (this issue seems to exist in rails 3 also).
-
-
Thursday, April 29 2010
4503
Polymorphic belongs_to with blank values causes unwanted behavior
was created
in Ruby on Rails
-
Tanel Suurhans created the ticket at 10:44 PMFound two cases where assigning a blank value (an empty string) to a polymorphic belongs_to causes unexpected behavior in rails 2.3.5.
class User < ActiveRecor...
Monday, April 19 2010
4298
Marking Activerecord object as dirty
was updated
in Ruby on Rails
-
Tanel Suurhans commented at 8:20 PMI suppose it would be too costly do have some kind of a diff logic run before the call to save, to see if some attributes have changed?
Monday, March 01 2010
1695
named_scope with :joins does not work properly through HABTM associations
was updated
in Ruby on Rails
-
Tanel Suurhans commented at 3:46 PMSeems like this bug surfaces even without :select conditions.
For example in a case like this:class Key < ActiveRecord::Base has_many :values end class Val...