Erik Fonselius
Not a member
Erik Fonselius's latest activity
Friday, September 10 2010
5605
Using Model.includes(:relation_with_custom_primary_key)
was updated
in Ruby on Rails
-
Erik Fonselius commented at 1:00 PMsorry missed the env
ubuntu 10.04 64bit
1.9.2 p0 in rvm
Rails 3.0.0 -
Erik Fonselius created the ticket at 12:59 PMHi
It seems that when specifying a custom primary key in a belongs_to
belongs_to :model, :primary_key => :some_key
and then callingModel.includes(:other_model...