Hery
Not a member
Hery's latest activity
Sunday, November 15 2009
3484
[Rails 2.3.4 and prior] validates_uniqueness_of fails with non STI inheritance
was updated
in Ruby on Rails
-
Hery commented at 10:18 PMIMHO the expected behavior is a unique login in the students table only.
I know it is a bad design since Mixin should be used instead of inheritance but I just ...
Thursday, November 12 2009
3484
[Rails 2.3.4 and prior] validates_uniqueness_of fails with non STI inheritance
was created
in Ruby on Rails
-
Hery created the ticket at 10:01 AMHi,
I've found this issue when using class inheritance but non-STIclass User < ActiveRecord::Base validates_uniqueness_of :login end class Student < User ...
Tuesday, July 21 2009
2933
2.3.2 update_attributes save many-to-many associations
was created
in Ruby on Rails
-
Hery created the ticket at 5:12 PMHi,
I use ruby 1.8.7 and Rails 2.3.2
update_attributes
Updates all the attributes from the passed-in Hash and saves the record. If the object is invalid, the ...
Saturday, May 30 2009
2742
class method to_s used instead of name
was created
in Ruby on Rails
-
Hery created the ticket at 3:33 PMHi,
Here is an issue/improvement/suggestionWhen defining a to_s class method for my models it breaks rails, especially in active_record.
active_record uses bot...