Added appropriate activerecord::base checks to unicorn.rb config.