Displaying 3 results from an estimated 3 matches for "hy000field".
2005 Nov 26
4
activerecord rake test_mysql
............F............EEE..............EEEEEEE....................FF....F.....................................................................................
Finished in 77.0 seconds.
1) Error:
test_adding_macro_callbacks(AssociationCallbacksTest):
ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''type''
doesn''t have a default value: INSERT INTO projects (`name`, `id`)
VALUES (''Active Record'', 1)
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:78:in
`log''
./test/../lib/active_record/connection_adapters/mysql_ad...
2006 May 10
0
ActiveRecord tests
I am trying to get a working copy of the rails core setup, but I cannot
get ActiveRecord tests to pass. I get a couple hundred errors most of
are:
ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''type'' doesn''t
have a default value: INSERT INTO projects (`name`, `id`) VALUES
(''Active Record'', 1)
What do I need to do to get ActiveRecord tests to pass?
--
Posted via http://www.ruby-forum.com/.
2007 Jul 12
0
[retry] fixture_references: "Mysql::Error #HY000"? (fwd)
I''m resending this with additional information, as I''ve had no
response. I''ve been trying to use the fixture_references plugin,
and I seem to be getting lots of:
1) Error:
test_truth(DeviceTest):
ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''description_id'' doesn
''t have a default value: INSERT INTO devices (`id`) VALUES (2)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection
_adapters/abstract_adapter.rb:128:in `log''
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/l...