Jeff wrote:
> I'm seeing a similar issue with mysql 5.0.51. I have a rails 1.2.6 app
> deployed on a webhost agains mysql 5.0.27 and it works fine. however
> on two different linux boxes, both running mysql 5.0.51, I get the
> following error:
> 
> Mysql::Error: Column 'title' cannot be null: INSERT INTO boats
> (`updated_at`, `kind`, `title`, `length_string`, `description`,
> `length`, `hulltype`, `make`, `year`, `published_at`, `user_id`,
> `builder`, `description_uses_textile`, `image_id`, `model`,
> `specifications`, `created_at`, `state`, `style`) VALUES('2008-10-03
> 16:24:28', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4,
> NULL, 0, NULL, NULL, '[]', '2008-10-03 16:24:28', 'new', NULL);
> 
> Think this is the same issue?
> Thanks, I'm at my wits end with this, I can't figure out why it works
> on the web host with the SAME sql from AR, but not on a dev box.

Your problem is just an issue caused by behavioral differences in mysql
versions, it hasn't got anything to do with rails.


-- 
Cheers,

Koz


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