The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
I don't like those buttons inside the header area of a message that Thunderbird 3 put there. Though the...
Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...
Now allows to list transition paths from and to arbitrary states.
Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...
If in your application your users pass along params that result in filenames, like invoices/generated?number=123. This could be...
Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...
Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...
If you have the following deprecation warning after upgrading to rails >= 2.3.10 DEPRECATION WARNING: The :overwrite_params option is deprecated...
When you click a link or a press a button on a Selenium-controlled browser, the call will return control...
Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...
Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.
Have a backup. Stop MySQL: sudo service mysql stop Move (or copy) your mysql directory. If you want /mnt/mysql to...
What are Google’s plans for turning WebM into a genuinely open standard, one that is based on consensus like...
The code below shows a method #validate which uses Nokogiri to validate an XML document against an XSD schema. It...
Note that this sounds good but is not good at all when hooking tasks on cap deploy (see this article...
This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...
When you use the send_file method to send a local file to the browser, you can save resources on...
This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...
In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...
I love ETags, but there’s something that annoys me: most implementations revolve around pulling a record out of a...
This is for those who already own an SSL certificate (e.g. using it in the Apache HTTP Server) and need...
When you are using Apache for development, it still accepts connections from everyone in the same network as you.