Changeset [31d3d529aaaabefa7b00344774643f0998e52d51] by Dan Kubb

February 5th, 2010 @ 01:06 AM

Allow belongs_to to accept a :key option

  • The :key option will be passed down to the inferred FK property

[#620 state:resolved]

Committed by Dan Kubb

  • M lib/dm-core/associations/many_to_many.rb
  • M lib/dm-core/associations/many_to_one.rb
  • M spec/public/model/relationship_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »