I downloaded a Rails codebase and opened it in RubyMine on Windows. When I try to run functional tests the fixtures aren't being initialized, with errors like:
Field 'created_at' doesn't have a default value: INSERT INTO `mytable` (`name`, `code`) VALUES ('MyString', 'MyString')
It's like record_timestamps is set to false, but explicitly setting it to true in config/test.rb makes no difference. The tests work correctly on a Linux machine with no IDE. How can I get the fixtures to load properly?
(I asked this question on StackOverflow as well http://stackoverflow.com/questions/24369551/rake-fixtures-not-populating-correctly )