diff options
author | Brad Greenlee <brad@wesabe.com> | 2008-06-02 22:04:46 -0700 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-07-06 20:25:10 +0200 |
commit | afa0c7f728a8896c9ee9d932033e08a4c99dfd50 (patch) | |
tree | 6fd8642f524facf4d1d2584c21ce7b8d30b9d424 /activerecord/lib/active_record/aggregations.rb | |
parent | 3351d2997017465047b2c3dc63dc31e2362368af (diff) | |
download | rails-afa0c7f728a8896c9ee9d932033e08a4c99dfd50.tar.gz rails-afa0c7f728a8896c9ee9d932033e08a4c99dfd50.tar.bz2 rails-afa0c7f728a8896c9ee9d932033e08a4c99dfd50.zip |
Add support for :primary_key option to has_one as well as has_many so that a key other than the default primary key can be used for the association
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/lib/active_record/aggregations.rb')
0 files changed, 0 insertions, 0 deletions