Displaying 1 result from an estimated 1 matches for "series_fk".
Did you mean:
series_
2007 Aug 30
0
execute joins manually without :include parameter
Hi!
I have the next model with the follow associations:
class XmlGen < ActiveRecord::Base
set_primary_key "pk"
belongs_to :serie,
:foreign_key => "series_fk"
class Serie < ActiveRecord::Base
set_primary_key "pk"
belongs_to :study, #Relaciones entre las clases Study y Series. A
study has many series.
:foreign_key => "study_fk"
has_many :xml_genes
I did the follow query:
@instances = Instance.find(:all,...