When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...
Investigate why mails are frozen The exim documentation says: Freezing occurs when a bounce message encounters a permanent failure because...
You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...
Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
There are some frontends available, but they all suck, are no longer maintained or are hard to install.
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
If you need to log to a file you can use Ruby's Logger class: require 'logger'
To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
I couldn't successfully execute a simple iptables command and got this error on an Ubuntu server: # /sbin/iptables -I INPUT...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
When running Selenium features with parallel_tests, some browser-server interaction might take longer than usual and the impatient Capybara...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.
The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...
Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \
The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the...
If you get one of this errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ( ): found...