Consider the following: describe '#something' do context 'with lots of required arguments' do it 'should work' do subject.something(:foo => 'foo...

makandra dev

This card explains how to upgrade an existing RubyMine installation to a newer version. If you're installing RubyMine for...

If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...

37signals.com

We recently added custom fields to Highrise which allow you to keep track of extra details beyond standard contact information...

jwz.org

An ancient essay on software design that, after 20 years, should still guide you for every line of code you...

dehora.net

All you need to know about the rise and fall of programming languages. Not really related to the worse is...

When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0

Sass comes with many built-in functions to manipulate color. Some of the more interesting functions include: adjust-hue($color...

shopify.com

Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...

yehudakatz.com

Yesterday, there was a blog post entitled “What the Hell is Happening to Rails” that stayed at the number one...

makandra dev

You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are

Because your examples should not change global state, you should not need to care about the order in which RSpec...

I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...

successfulsoftware.net

Choosing the right product to develop is crucial. Great execution is also very important. But if you develop a product...

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...

When you edit text in Balsamiq Mockups, you can define inline styles like this: | Bold | Some *bold* text | | Italics | Some...

You know there is the du command to fetch the disk usage of a directory (“.” in this example). By default...

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

schema.org

If you would like to enrich your website with semantic markup like contact data, places or events you should have...

Note: In Rails 3+ you can use Array.wrap instead of the solution here. In the past you could use Array...

devblog.imedo.de

XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...

makandra dev

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

Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...