The Problem: you’ve got multiple rails projects in development; possibly one or more use subdomains, and you can’t be bothered messing with vhosts and /etc/hosts and <insert extra hassle steps here> just to look at your app in the browser. The Solution: Pow, a zero-configuration Rack server for OSX, by Sam Stephenson over at 37 [...]
Also filed in
|
|
I’ve got a rails site with an active comments section. For a couple of years I’ve been using the recaptcha gem by fellow tampa.rb member Jason Perry, and that’s mostly worked well. Recently we’ve been getting hit by spam from Russia which has been getting past the recaptcha filters. The spammer in question may or [...]
Also filed in
|
|
Wednesday, November 24, 2010
Post-deploy notifications on Engine Yard cloud I’ve got a project hosted on EngineYard‘s cloud servers, with geographically-dispersed team. The developers are often working on separate feature sets, often deployed independently. As a quality-control and awareness measure we wanted to be notified when a deploy was done. This was pretty easy to set up, and would [...]
Thursday, August 26, 2010
I was talking with a developer about their first rails project, the deadline of which was looming. After a quick walk-through of the code I started asking about process stuff — what are you using for tests? Are you using capistrano for deployment? The answers were “I’d like to use tests at some point in [...]
Saturday, February 20, 2010
Dept. of Quick Tips Dept.: If you’re upgrading from an older plugin version of the hoptoad notifier to the 2.2 gem, and you see uninitialized constant HoptoadNotifier::Catcher when you try to script/generate hoptoad, go to application_controller and remove the line: include HoptoadNotifier::Catcher Then run script/generate hoptoad again and all should be well. Oh, and if [...]
I’ve found a few tools that I like to use on all new projects, mostly for the presentation and testing layers. Following the dictum that lazy is good (and I’m far too lazy to make sure that’s the correct usage of ‘dictum’), I’ve created a starter app that has all those tools in place, so [...]
Saturday, December 15, 2007
One of the five minute lightning talks at a recent tampa.rb meetup:
Saturday, December 15, 2007
I’ve become a big fan of rspec, and the idea of testing models, views and controllers independently of each other. View testing has for me tended to get short shrift, though; there’s not typically a lot of code in there, and who cares what it looks like, right? (kidding)I recently changed how authorization and authentication [...]