Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...
When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...
Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...
The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...
Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...
An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...
Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...
Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...
RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...
Sometimes you're getting an ActiveSupport deprecation warning that you cannot or don't want to fix. In these cases...
Warnings like those below may originate from rspec or shoulda-matchers or other gems that have not updated yet to...
config.action_controller.action_on_unpermitted_parameters enables logging or raising an exception if parameters that are not explicitly permitted are...
Spring is a Rails application preloader. When debugging e.g. the rails gem, you'll be wondering why your raise, puts...
Programatically invoke Rails generators Require the generator, instantiate it and invoke it (because generators are Thor::Groups, you need...
Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...
Enter the hostname of a server to test it for CVE-2014-0160.
When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...
I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...
Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...
Your development machine is usually on a very good network connection. To test how your application behaves on a slow...
Store each models version in a separate table class Post < ActiveRecord::Base has_paper_trail :class_name => 'PostVersion' end