Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.

Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...

These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...

When you open up a story to only have a look at it, close it by pressing the "Cancel" button...

The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...

makandra dev

If you are exchanging files with a client via Dropbox you do not need to access the Web page every...

makandra dev
martinfowler.com

A common question in IT departments is whether to provide a capability by building custom software or by buying a...

If you want to have an English Ubuntu UI, but still see dates, money amounts, paper formats, etc. in German...

In shell scripts you can use $1 to refer to the first argument, $2 for the second, etc. If you...

apidock.com

This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...

If you need Google Chrome to run in English, and your system locale is a non-English one, you have...

When some of your Google contacts are no longer synchronized with your e-mail client or mobile phone, those contacts...

Sometimes, when running a rake task, RubyGems 1.8.5 raises an error: rake aborted! undefined method `specifications' for "/usr/lib/ruby/gems/1.8":String

My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...

If you want to use a helper_method my_helper_method inside a model, you can write ApplicationController.helpers.my_helper...

github.com

When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...

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

dehora.net

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

If Google Analytics claims that a something@googlemail.com address is not a valid Google account, try adding something@gmail.com.

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