Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    Erik Fonselius commented at 1:00 PM

    sorry missed the env

    ubuntu 10.04 64bit

    1.9.2 p0 in rvm
    Rails 3.0.0

  • Erik Fonselius
    Erik Fonselius created the ticket at 12:59 PM

    Hi

    It seems that when specifying a custom primary key in a belongs_to
    belongs_to :model, :primary_key => :some_key
    and then calling

    Model.includes(:other_model...