Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...
Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.
%p #{link_to "label", "url"}! Haml is a great engine for writing shorter, readable HTML. However, there is...
Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...
If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
How to call routes, make requests and try out helpers from the Rails console.
Sometimes you need a special version of chrome because it has some features you need for testing, like in this...
When you want to test how an web-application reacts in a specific resolution, you can set up a specific...
All our projects have enum-like requirements like this: An attribute value must be included in a given set of...
Controller responses often include Javascript code that contains values from Ruby variables. E.g. you want to call a Javascript function...
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
xterm by default uses black text on white background. To change that to something like "light gray on black", do...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...
You won't usually have to do this. It's OK to route all formats to a controller, and let...
Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
When you regularly make use of Cucumber's "show me the page" step (or let pages pop up as errors...
I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...
If you get this: Installing typhoeus (0.3.3) with native extensions /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem...
Your current ruby must be Ruby Enterprise. gem install passenger passenger-install-apache2-module Edit your httpd.conf according to the...
Let's say you need to revert a migration that happened a while back. You'd create a new migration...
When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...
The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...
REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...