Skip to content

Instantly share code, notes, and snippets.

View ssoroka's full-sized avatar
👾

Steven Soroka ssoroka

👾
View GitHub Profile
1939 David Heinemeier Hansson
1668 Jeremy Kemper
444 Josh Peek
436 Rick Olson
354 Jamis Buck
339 Nicholas Seckar
302 Michael Koziarski
268 Pratik Naik
156 Marcel Molina Jr.
148 Geoff Buesing
# install latest cucumber as gem.
git clone git://github.com/aslakhellesoy/cucumber.git
cd cucumber
git checkout v0.1.99.21
rake gem
sudo gem install pkg/cucumber-0.1.99.21.gem
cd ..
rm -rf cucumber
class RouteFilter
class << self
def routes
ActionController::Routing::Routes.routes
end
def controllers
::Object.subclasses_of( ::ActionController::Base )
# find two words that share the same pluralization for tpope. :D
# Steven Soroka
# http://blog.stevensoroka.ca
require 'ansi' # sudo gem install ssoroka-ansi
# load words with an array of words.
# words = IO.read("/usr/share/dict/words").split("\n").uniq # or something,
# then take out a crap load or it'll take till christmas 2053