On 3/16/07, Hampton <[EMAIL PROTECTED]> wrote:
>
> Today I just spent 3 hours (and before a demo!) trying to figure out
> why my polymorphic association fields were breaking.
>
> Turns out someone else put in a patch for this 6 months ago. I'm not
> sure if its the same solution I'd use... I'd rather find_or_create
> attempt to use AssociationProxy#build if its available and only
> Base#new if we're not on a proxy.
>
> http://dev.rubyonrails.org/ticket/4645
>
> Can someone on core look at this. I can do another version if anyone
> would prefer. But, I'd love to have this fixed.

Well, the patch is outdated, but I have the tests merged.  The
has_many patch was rejected so I still have to look at where that line
is being modified and add that to the edge version of the file.

-- 
Rick Olson
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to