geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...

makandra dev

When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...

For Email-Patterns see most recent E-Mail-Pattern. HOST = /\A[a-z0-9]+[a-z0-9\-\.]*[a-z0-9...

In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

crazylittlehacks.blogspot.com

I found a nice script on crazylittlehacks and modified it slightly. Put the attachment to /usr/local/bin, chmod +x and run...

makandra dev

If you want to enforce soft tabs (spaces instead of tabstops) in Vim put this into your ~/.vimrc (Linux) or...

When your cucumber features grow massively over time, the test execution can take a lot of time.

howtogeek.com

One of the more controversial changes in the Ubuntu 10.04 beta is the Mac OS-inspired change to have window...

makandra dev

This card shows you how to center a float horizontally in CSS. Also: find out what techniques are available for...

makandra dev

You know that you can collect an array as groups using in_groups or in_groups_of. Maybe you want...

makandra dev

If you want to play music or sounds from a browser, your choice is to use either Flash or the...

When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...

User.active.to_sql Rails 2 Use either the Edge Rider or fake_arel gem to get #to_sql backported...

There is a nasty bug in all version of Rails 2 and some versions of Rails 3.x where two...

At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...

makandra dev

The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...

Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...

Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

After updating your RubyGems, you will probably not be able to run Capistrano any more, but receive an error similar...

songit.posterous.com

RubyGems 1.6.0 has undergone some changes which may cause Rails 2.x applications to break with an error like this...

makandra dev
innig.net

If you want to get a deep understanding of how closures, blocks, procs & lambdas in Ruby work, check out the...