Article:
 |
|
Rolling with Ruby on Rails Revisited
|
| Subject: |
|
is the code complete ? |
| Date: |
|
2006-12-18 06:26:00 |
| From: |
|
bill_walton
|
Response to: is the code complete ?
|
|
Hi Will,
Much of Rails' magic requires transaction support which, in MySQL, is only available via the InnoDB engine. From the MySQL developer documentation (http://dev.mysql.com/doc/refman/4.1/en/create-table.html ) "In MySQL 3.23.44 or later, InnoDB tables support checking of foreign key constraints. [...] For other storage engines, MySQL Server parses and ignores the FOREIGN KEY and REFERENCES syntax in CREATE TABLE statements."
Best regards,
Bill
|
Showing messages 1 through 3 of 3.
-
is the code complete ?
2007-07-10 13:38:15
RaagSrinivasan
[View]
-
is the code complete ?
2007-07-11 05:57:47
Bill Walton |
[View]
-
is the code complete ?
2007-07-12 14:32:45
RaagSrinivasan
[View]
I am not sure I understood your comment in the sense; as a developer what am I supposed to do to get over the tutorial not working?
Would you recommend that I change the SQL to
-- category_id int null,
which naturally solves the problem??
Ruby and Rails Newbie
-- Raag