search for: 001_xxx

Displaying 2 results from an estimated 2 matches for "001_xxx".

Did you mean: 0.1xxx
2007 Jul 09
1
Issue with version field in schema_info
...n 1. When I executed ''rake db:migrate'' everything ran successfully. Which puts my database ''state'' at migration 007_xxx. Now when I add a migration (008_xxx) and re-run ''rake db:migrate'' I got an error saying the table being create in migration 001_xxx already exists. When I checked the table "select * from schema_info" there was nothing in the table. Inserting the proper version number by hand and re-running my migrate worked and migration 008 worked. All ''rake db:migrate'' being run from here update the table success...
2008 Mar 27
2
rake only works once from rails
posted this on Ruby forum, no luck there - maybe a Railser has dealt with this issue... I''ve made a rake task that I''m running from my rails, and it works - but only once. If I then restart the server (mongrel) it works again - once. I can simulate this in the console session as shown... q = Rake::Task["cache_sweeper"] => <Rake::Task cache_sweeper =>