I'd rather keep this behavior in a plugin than integrate it into Rails core.

It's true that Rails now has support for adding and removing foreign key 
constraints.
However that doesn't mean that everyone has to use them all the time.
In the case of polymorphic relations you can't use them. The gem proposes a 
different schema structure
to make it possible to define foreign keys. That structure might be good 
for some projects but for others
the current Rails approach is a better fit. This means we'd still have to 
support both schema structures.

Cheers,
-- Yves

On Tuesday, July 21, 2015 at 7:47:22 PM UTC+2, em...@54hrs.com wrote:
>
> Since FK's are now accepted and  in rails 4 how about we fix polymorphic 
> which something like this?
>
> https://github.com/wegowise/polymorpheus
>
> Anyone from core ideas on this?
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to