This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gem install awesome_print | |
# gem install benchmark | |
# gem install pry | |
require 'awesome_print' | |
require 'pry' | |
require 'benchmark' | |
class SumOfEach | |
attr_accessor :number_to_equal, :array, :answers, :array_count, :to_remove, :answered |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
namespace :db do | |
desc "Import DB Data" | |
namespace :import do | |
desc "Import production db to whatever 'ENV['to']' db is set to and s3 sync" | |
task :production => :environment do | |
## example rake db:import:production to=qa s3=true | |
## or no s3 |