RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

technicalpickles — 11 posts

http://technicalpickles.com

System automation can be tedious and time consuming to develop and test. capistrano-cowboy helps reduce the feedback loop by deploying to staging from your working directory without having to commit your work along the way. Check out how we use it.
Tests, we generally like them for our code. Remember, capistrano recipes are code too, so please, be sure to test them. I put some notes and codes to help get started with capistrano testing with rspec: capistrano-spec
Rail 3.0 is now in beta. I don't know about you, but I've already written my first Rails 3 application. Allow me to share with you the tale of deploying it with moonshine
Ruby stubbing and mocking with rr: rr is a test double framework. This article provides an introduction to basic usage, assuming you are at least familiar with other frameworks like mocha, flexmock, and RSpec's mocking support
method_missing and respond_to? are a few of the basic tools for Ruby metaprogramming. Here are some notes about using them to dynamically methods to your objects.
Jeweler is a tool for managing and automating the task of distributing RubyGems on GitHub. It's been developed over the course of the past few months, but hadn't been officially announced... until now. Read all about it, Craft the perfect gem with Jeweler
The crew at thoughtbot share some of their vim tips.
Shouldn't you be testing your helpers? It's not very well known, but Rails provides ActionView::TestCase for doing just that.
Rails adds special sauce for handling Test::Unit setup and teardown
Shoulda, the Test::Unit framework that makes tests easy on the fingers and eyes, just hit 2.0.0, now plays nicely in Rails apps as a gem.
I needed to start using acts_as_paranoid for a project, and didn't see many good tutorials on it, so I wrote my own.