Permalink
Browse files

Rails 2.3.5 fix for activerecord, db:test:prepare

  • Loading branch information...
1 parent a1dae1c commit 89616c900c48d4b923cc6d9996dcf5a07383deeb @napcs committed May 17, 2010
Showing with 8 additions and 7 deletions.
  1. +3 −2 CHANGES
  2. +1 −1 MIT-LICENSE
  3. +4 −4 tasks/lazy_developer_tasks.rake
View
@@ -1,5 +1,6 @@
-1.1.9.1
- * Fixed deprecation warning for activerecord
+1.2.0
+ * Fixed deprecation warning for activerecord in Rails 2.3
+ * Changed db:test:clone to db:test:prepare for migrate, up, and down methods.
1.1.9
* Fixed version string to prevent collisions with other libraries.
1.1.8
View
@@ -1,4 +1,4 @@
-Copyright (c) 2007 Brian Hogan
+Copyright (c) 2007-2010 Brian Hogan and Kevin W. Gisi
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -1,4 +1,4 @@
-LAZY_DEVELOPER_VERSION="1.1.9.1"
+LAZY_DEVELOPER_VERSION="1.2.0"
@@ -21,7 +21,7 @@ namespace :db do
task :migrate do
unless RAILS_ENV == "production"
puts "Preparing Test database"
- Rake::Task['db:test:clone'].invoke
+ Rake::Task['db:test:prepare'].invoke
end
end
@@ -30,14 +30,14 @@ namespace :db do
task :up => :environment do
unless RAILS_ENV == "production"
puts "Preparing Test database"
- Rake::Task['db:test:clone'].invoke
+ Rake::Task['db:test:prepare'].invoke
end
end
task :down => :environment do
unless RAILS_ENV == "production"
puts "Preparing Test database"
- Rake::Task['db:test:clone'].invoke
+ Rake::Task['db:test:prepare'].invoke
end
end
end

0 comments on commit 89616c9

Please sign in to comment.