Skip to content

Instantly share code, notes, and snippets.

View krutten's full-sized avatar

Kevin Rutten krutten

View GitHub Profile

Keybase proof

I hereby claim:

  • I am krutten on github.
  • I am krutten (https://keybase.io/krutten) on keybase.
  • I have a public key ASBPHZalydWnGd9KL8vUnOw_fO3yks8ZEjGIdLwiYB4k8go

To claim this, I am signing this object:

# Store rake tasks specific to [company]
namespace :[company] do
# Migrate [Company]'s data into the new CRM
namespace :migrate do
require 'progressbar'
desc "Run all [company] migration tasks"
task :all => [:config, :users, :comments, :accounts]
@krutten
krutten / better_logger.rb
Created July 19, 2011 07:43 — forked from indirect/better_logger.rb
Rails 3 logs with timestamps and PIDs, sort of like syslog
# You must require this file in application.rb, above the Application
# definition, for this to work. For example:
#
# # Syslog-like Rails logs
# if Rails.env.production?
# require File.expand_path('../../lib/better_logger', __FILE__)
# end
#
# module MyApp
# class Application < Rails::Application