DEV: Add log rake task

DEV: Add log rake task

Now, if you do rake log db:migrate, it’ll run migrations, but with logging enabled, so that you can see what is actually happening.

diff --git a/lib/tasks/log.rake b/lib/tasks/log.rake
new file mode 100644
index 0000000..403d3a6
--- /dev/null
+++ b/lib/tasks/log.rake
@@ -0,0 +1,3 @@
+task :log => :environment do
+  ActiveRecord::Base.logger = Logger.new(STDOUT)
+end

GitHub sha: 6518cac5