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
Nested
Flat
Threaded
Ultimate
Show 25
Show 50
Show 75
Show 100
By:
Praveen Devarao
RE: Fix honoring :primary_key option when joining [ reply ]
2010-10-07 12:11
Hi Rasmus,
Thanks for pointing to the fix.
I will need some time to look into this to ensure there will be no regression. If every thing goes fine then we could take up the fix and apply it.
Thanks
Praveen
By:
Rasmus Bergholdt
Fix honoring :primary_key option when joining [ reply ]
2010-10-07 11:31
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