John Woods wrote:
> I think the problem is that it's a MySQL reserved word rather than
> Rails. 

I thought the Rails DB adapters quoted identifiers precisely so name 
clashes of this sort wouldn't occur on the DB side.

> Perhaps if different DB software was used it wouldn't be a
> problem? I'm not experienced enough to say one way or another.

I doubt that the issue is on the DB side, but if is, I don't think 
switching will do it.  I think "references" as a keyword is in the SQL 
standard, so it's probably reserved in every SQL DBMS that supports 
foreign keys.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to