June 2007
5 posts
5 tags
ActsAsAuthenticated in test_spec_on_rails
I was having trouble getting login_as from the ActsAsAuthenticated plugin to work with test/spec on Rails.
TechnoWeenie suggested doing a def login_as... within each context. (It no longer does; I’ve put the code from this post into that page now.) That didn’t seem very DRY, so I tried including ActsAsAuthenticated all over the place. Nothing worked.
Until I realized the problem:...
1 tag
My Kiersey Profile
According to Keirsey, I’m an ENTP: The Inventor:
NT, the RATIONALIST (6% of population)
GENERAL DESCRIPTION:
Technology-oriented / Motto: Knowledge is power
Strategists: Designers and executers of a plan
NTs are task oriented; they determine how things get done
Curious yet skeptical; “Why?” drives their actions
Objective, logical, and analytical
Detached
Focus on...
1 tag
Some Band Names
Some possibly great band or album names:
Jerome Sheffield and the Wrong Goldfish
Three Halves Make a Whole Turquoise Sandwich
Eight Full Sundays
The Standards
Octothorp
Prefixes to Problems
Some really bad ones:
If, But, When, …
Intricate and Restful
Refurbished Pickles
Yessiree, I Am Indeed a Proctologist
Teh H4x0r5
Fiends with Hairnets
Big Buttresses
Nothing to See Here;...
3 tags
Problems with a Democratic Republic
Scott Adams writes that he thinks Michael Bloomberg might be the man to stop this inane, barbaric feast upon “flip-floppers.” I hope it’s true.
But it’s not the only problem with representative democracy. The Federalist Papers make many great arguments why our system is the best that humans can achieve, but it really fails in one area: public bias.
This past week, the...