I hereby claim:
- I am keithcelt on github.
- I am keithcelt (https://keybase.io/keithcelt) on keybase.
- I have a public key whose fingerprint is DF71 EC22 3B38 183D F327 D983 D79A 4D2E 9BF9 BBE5
To claim this, I am signing this object:
def a | |
puts "hi" and return :hi if true | |
end | |
def b | |
(puts "hi" and return :hi) if true | |
end | |
def c | |
puts "hi" && return(:hi) if true |
I hereby claim:
To claim this, I am signing this object:
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
# formatting for copypasta |
function ruby_version() { | |
if [[ -s ~/.rvm/scripts/rvm ]] ; then | |
echo $(~/.rvm/bin/rvm-prompt) | |
fi | |
} | |
function show_git_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
} |
i() { | |
if [[ -s tmp/isolate ]] ; then | |
echo "\$ rake isolate:sh['$*']" | |
rake isolate:sh\["$*"\] | |
else | |
echo "\$ bundle exec $*" | |
bundle exec $* | |
fi | |
afplay /System/Library/Sounds/Hero.aiff | |
} |
i() { | |
if [[ -s tmp/isolate ]] ; then | |
echo "\$ rake isolate:sh['$*']" | |
rake isolate:sh\["$*"\] | |
else | |
echo "\$ bundle exec $*" | |
bundle exec $* | |
fi | |
afplay /System/Library/Sounds/Hero.aiff | |
} |
ENV["RAILS_ENV"] = "test" | |
require File.expand_path('../../config/environment', __FILE__) | |
require 'rubygems' | |
gem 'minitest' | |
require 'minitest/autorun' | |
require 'action_controller/test_case' | |
require 'miniskirt' | |
require 'capybara/rails' |