rogergl
Not a member
rogergl's latest activity
Wednesday, May 26 2010
3146
Still a bug in association_preload.rb ?
was updated
in Ruby on Rails
-
rogergl commented at 6:40 AMThe error was in association_preload.rb but seems to be fixed in Rails 3.
Regards
Roger
Friday, September 04 2009
3146
Still a bug in association_preload.rb ?
was updated
in Ruby on Rails
-
rogergl commented at 8:16 PMChanging line 324
seems to make preloading work as expected:
primary_key = options[:primary_key] || klass.primary_key
At least I get as many (106 failures with ...
-
rogergl created the ticket at 12:54 PMif I specify my own primary key for belongs_to:
class Price < ActiveRecord::Base
belongs_to article :primary_key => "produktnr"end
and use a nested include:
...