On Nov 28, 2011, at 7:50 PM, Rodrigo Rosenfeld Rosas wrote:

> t.references  :author
> 
> This should not only create the author_id numeric column, but also create the 
> foreign key in supported databases.

Ah, I didn't understand we're only talking about migrations here.

You write too long emails; your whole point can be summarized by what I quoted 
above :)

Eventual referential integrity as a result of race conditions was never a 
problem for me, i.e. it hasn't been biting me. That's why I'm not super-excited 
about the prospect of this being in AR by default. If someone is, speak up.

If there's a 3rd-party project (Foreigner), why not just use it?

-- 
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