In order to chain greps on log files that are opened via tail -f test.log you have to use the...

The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...

Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:

makandra dev
github.com

Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.

makandra dev
github.com

Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...

Removing features and merging those changes back can be painful. Here is how it worked for me.\

In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...

blog.bitcrowd.net

To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...

This is for you if you get this error: cucumber.yml was found, but could not be parsed. Please refer to...

In your Cucumber features you can't really click hidden elements when using Selenium (it does work for a plain...

makandracards.com

Our rcov:all task for aggregated RSpec/Cucumber coverage was overhauled extensively. Among other things it now works for Rails 2...

Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your...

makandra dev

When you're getting this error, one possibility is that you've created a select field for an association instead...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

When you use google analytics to track your visitors interactions, you should ensure that it runs on your production site...

github.com

Framework to write command-line apps in Ruby. Comes with a nice way of processing parameter options, some utility classes...

github.com

Scenario outlines allow us to more concisely express repetitive examples through the use of a template with placeholders.

The SQL code generated by Graticule's spherical distance computation is insufficient and can lead to NULL distances in edge...

If you get the above error when running tests in bulk (but not individually), it's actually the fault of...

When you have objects in your database that hold latitude and longitude and you want to find others that are...

Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...

When using state_machine you sometimes need to know whether an object may execute a certain transition. Let's take...

If you get an error like this: Unable to launch /home/bruce/Projects/myproject/tmp/capybara/capybara-201110311210111407691101.html ... update your launchy gem. It failed for us in...

By default, Rails views escape HTML in any strings you insert. If you want to insert HTML verbatim, you need...