On 7/22/06, Chris Mear <[EMAIL PROTECTED]> wrote:
On 22 Jul 2006, at 7:58 am, Daniel N wrote:

> ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field 'type'
> doesn't have a default value: INSERT INTO projects (`name`, `id`)
> VALUES ('Active Record', 1) #with different insert statements

Are you running MySQL 5?

Someone else reported a similar-sounding problem last year:

http://lists.rubyonrails.org/pipermail/rails-core/2005-November/
000305.html

Chris


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Yes.  5.0.15.  I applied the fix suggested on the wordpress site, and It worked.

Well except 1 failure that I'll go and track down.

Thanx very much for you help :)


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to