Apr 17, 2012 posted by Matt

Fuck You, Pay Me – SaaS Edition

You’re probably familiar with the Fuck You, Pay Me talk Mike Monteiro gave last year about making sure your consulting clients pay you. His message is a good one: make sure you get paid. His advice is also good, but …

Feb 5, 2012 posted by Joel

Faster Rails Testing

Run your unit, functional, and integration tests faster by doing the big rails setup once instead of three times.

Jan 3, 2012 posted by Joel

Capistrano: Add or change roles on already defined tasks

Couldn’t find this anywhere, so here’s the short, sweet answer. For anything that is not namespaced, you can do this: tasks[:non_namespaced_task].options[:roles] = [:foos, :bars] For a namespaced task, you can access the task from methods exposed by Capistrano: namespaces[:the_namespace].tasks[:namespaced_task].options[:roles] = …

Tags: ,

Dec 23, 2011 posted by Joel

Production Acceptance Testing For Great Justice

TL;DR Verify production after deploys for immediate feedback. So you’re using capistrano to deploy? Do you have automated tests that run against production to make sure it worked? If not, how confident are you that it did? We added this …

Tags: , ,

Dec 23, 2011 posted by Joel

Capistrano: Exclude a server from the code deploy

This took me like 30min to track down by way of cloning capistrano and grepping for the right answer. Let’s say you have a mysql/redis/mongo/riak/whatever server that doesn’t really have anything to do with the code of the app but …

Tags: , ,

Jun 12, 2011 posted by Joel

RVM + Rails + Bundler without the Gemset Pollution Bullshit

Every tutorial I have ever seen about using RVM, Rails, and Bundler together seems to get this wrong afaik. Why‽ Misunderstanding bundler, maybe? So, the typical thing they tell you is basically these steps: Install RVM Install you some rubies …

Tags: , , , ,

Feb 2, 2011 posted by Matt

Announcing First Release of the CheddarGetter Gem

If you’ve spent any time at all in the Indianapolis startup community, you know there are some pretty smart people here with some really innovative ideas. Expected Behavior has been lucky to work with a number of them, including the …

Sep 20, 2010 posted by Joel

Bundler Messed with my Flow

One of the main stumbling blocks I’ve had with using bundler up to this point was having to type bundle exec every time I want to run cucumber, or deploy, or run nokogiri, etc. bundle exec cap staging deploy is …

Tags: , ,

Apr 15, 2010 posted by Matt

April Ruby Roundup

It’s time for the April edition of the Ruby Roundup. Global Rails 3 beta 3 is out with a release candidate soon to follow. Heroku add Platform Stacks in preparation for Rails 3. Includes 3 versions of Ruby and two …

Tags: , ,

Mar 10, 2010 posted by Matt

March Ruby Roundup

These are the link notes for the March Ruby Roundup given at Indy.rb. If you didn’t see the presentation, it’s probably not a lot of use. global Bundler – http://github.com/carlhuda/bundler Spoke – http://github.com/josh/spoke Rework – on Amazon yahuda too busy …

Tags: , ,