I’m going to list assumptions your systems probably make about names. All of these assumptions are wrong. Try to...
If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...
The ancestry gem allows you to easily use tree structures in your Rails application. There is one somewhat unobvious pitfall...
If you did file operations inside a shell or for example using Nautilus, it can take quite a while until...
Take care when trying to set attributes to nil in a blueprint. Given the following master blueprint: Story.blueprint do
If you get an ActiveRecord::RecordNotSaved error, a method inside one of your model's callback chains (before_save etc...
Lately, we’ve been exploring ways to offer web apps that perform like native apps on mobile devices. For this...
When you do tags with acts-as-taggable-on and want to preload associated tags, you can do so with...
Note: We are talking about Machinist 1 here, Machinist 2 may have solved this or might require a different approach...
Capybara's has_css? matcher has a couple of options you might find useful. Check that a selector appears a...
Even when you're using bundler, it might be significant in which order your gems are listed in your Gemfile...
This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to...
[ ] [ ]= ** ! ~ + - * / % + - >> << & ^ | <= < > >= <=> == === != =~ !~ && || .. ... ? : = %= { /= -= += |= &= >>= <<= *= &&= ||= **= defined? not or and if unless while until begin/end For more information see Table 18.4 in The Pragmatic Programmer's...
Inside before :each blocks you can refer to variables that you introduce via let later on. They do not need...
If you need to call a state_machine event and do not want to re-define resource_controller's create...
If a SSH shell dies (from timeout for example), you cannot kill it with the usual CTRL-C or CTRL...
These steps are now part of Spreewald. This note describes a Cucumber step that lets you write this:
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
A popular ruby idiom I keep stumbling upon is def do_some_thing_for(values) values = Array(values)
Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...
So this is the simulation that I use in my Agile Testing class, as well as in other contexts where...
RSpec's context (which is basically an alias for describe) takes over your whole application. No object may have its...
You can use record.send(:update_without_callbacks) or record.send(:create_without_callbacks) This can be used as a...
You don't need a Rails application to use Sass. Even when you're working on a static site you...