ajsharp — 9 posts
Don't ever run bundle update optimisdev.com
In a nutshell, bundle install is usually the only command you'll need, while bundle update, with no other arguments specified, will update each gem in your Gemfile and all dependent gems to it's latest version. Usually, this is not what you want. Read on...
"Refactoring in Practice" slides from Ruby Hoedown alexjsharp.com
I gave a talk on refactoring this weekend at Ruby Hoedown in Nashville, TN. Here's a link to the slides.
Testing rails view helpers alexjsharp.com
Rails view helpers are easy to overlook in your test suite, but they want your testing love just like your models. I generally use view helpers for one of two reasons: 1.) when I'm trying to output something that's a bit too hairy to leave in a view or 2.) when I want to DRY up some view code. Both of these reasons warrant testing this code.