I have just ran into this same problem. There's a patch that applies to Rails 2.3.5 on bug #3208 but it hasn't been applied to the 2-3-stable branch yet I have created a monkey patch for this bug as it is causing performance issues in my app. Place fix_belongs_to_include_with_primary_key.
Rb in your config/inititalizers directory and restart your app to apply it.
I have just ran into this same problem. There's a patch that applies to Rails 2.3.5 on bug #3208 but it hasn't been applied to the 2-3-stable branch yet. I have created a monkey patch for this bug as it is causing performance issues in my app.
Place fix_belongs_to_include_with_primary_key. Rb in your config/inititalizers directory and restart your app to apply it.
Thanks! Glad to hear that I wasn't crazy. – jerhinesmith Mar 16 '10 at 13:11.
I don't know why, but option :include in named_scope makes belongs_to with foreign_key working. Named_scope :my_all, :include => :user.
I have created a monkey patch for this bug as it is causing performance issues in my app. Rb in your config/inititalizers directory and restart your app to apply it.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.