Patches: Browse | Submit New | Admin

[#8766] [PATCH] Correct has_one and :through problems

Date:
2007-02-19 15:17
Priority:
3
Submitted By:
Jonathan Tron (jonathant)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
[PATCH] Correct has_one and :through problems

Detailed description
As reported in bug report #4689 :through option is not correctly handle by RAV, this patch ignore has_many when using
:through.

Then when using a has_one relation the class name is already singular (calling singularize on it causes some unwanted
behaviour, ex : address => addres), so this patch handle the case.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
through_has_one_patch.diff :through and has_one correction Download

Changes:

Field Old Value Date By
File Added1253: through_has_one_patch.diff2007-02-19 15:17jonathant