Oleg
Not a member
Oleg's latest activity
Thursday, April 15 2010
-
Oleg commented at 4:01 PMThis is a bit messed up. I'm experiencing the same issue.
accepts_nested_attributes_for for has_one completely skips validation on the nested element. has_many ...
Tuesday, July 01 2008
-
Oleg commented at 12:45 AMcreate_head is the Rails built-in method. See: http://rails-doc.org/docs/Active...
I have a feeling that something gets messed due to the validation method. I...
Monday, June 30 2008
-
Oleg created the ticket at 8:11 PMOdd one I found today:
class Chicken has_one :head end class Head belongs_to :chicken validates_uniqueness_of :chicken_id end>> @chicke...
Tuesday, June 10 2008
-
Oleg commented at 3:06 PM+1 on this one. Annoying bug... and not something that is obvious to me how to fix.
Tuesday, May 06 2008
-
Oleg commented at 6:14 PMWell, damn... You are correct. :joins actually works in this case. No reason why :include shouldn't work as well though. Rather misleading thinking that they c...
-
Oleg commented at 3:20 PMIgnore my comment about eager loading being borked, I forgot I needed to do :select => 'id' as well. Issue still stands, however.
-
Oleg commented at 3:09 PMI'm bumping this again with a test
class AssociationsJoinModelTest < ActiveRecord::TestCase def test_my_little_test p = Post.find(:all, :select =>...
Thursday, May 01 2008
-
Oleg created the ticket at 3:35 PMFirst of all, a small annoying bug:
CompanyActivitiesSummary.find(:all, :select => 'company.id, sum(active_users_count)', :group => 'company_id', :include => ...