After adding a vdisk to an ESXi linux guest you will assert that you can't find a new device...
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 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.
You know that ActiveRecord caches associations so they are not loaded twice for the same object. You also know that...
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...
This is useful to kill processes like ruby my-script.rb: pkill -f my-script.rb With great power comes great responsibility.
When you want to look up a class for a given factory, do it like this: >> FactoryBot.factories.find('admin').build_class...
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've pushed an update to Cucumber factory that simplifies working with FactoryGirl factories. Say you define a factory with...
If you get this error (probably because you want to load some modules): # modprobe xt_comment FATAL: Could not load...
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...
You can do so much more than console.log(...)! See the attached link for a great breakdown of what the developer...
Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.
If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...
The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...