Log In
Support
New Account
This forum
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Software/Group
People
Skill
Advanced search
Home
My Page
Project Tree
Code Snippets
Project Openings
Rails Adapter/Driver for IBM DataServers
Summary
Forums
Tracker
Lists
Tasks
Docs
News
SCM
Files
Forums
|
Admin
Discussion Forums:
open-discussion
Start New Thread
Message: 94990
BY: Rasmus Bergholdt (
rbhander
)
DATE: 2010-10-07 11:31
SUBJECT: Fix honoring :primary_key option when joining
When using belongs_to with :primary_key option ibm_db_pstmt.rb uses the primary key defined on the ActiveRecord class.
I have tried changing the code according to this fix, and it works.
http://github.com/rails/rails/commit/63026541b209cc11ffd74cf3ca04b89d1e437737
Regards
Rasmus
Thread View
Thread
Author
Date
Fix honoring :primary_key option when joining
Rasmus Bergholdt
2010-10-07 11:31
RE: Fix honoring :primary_key option when joining
Praveen Devarao
2010-10-07 12:11
Post a followup to this message