Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...

makandra dev

Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.

When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...

objectmentor.com

Slides presenting ways to integrate the ideas of Aspect-Oriented Programming in Ruby. Outline Why Aspect-Oriented Programming?

stackoverflow.com

Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }

Sometimes you need a special version of chrome because it has some features you need for testing, like in this...

You can set the resolution and user agent used in selenium tests with chrome with the method described in this...

When you want to test how an web-application reacts in a specific resolution, you can set up a specific...

This is for you when you want to mount a dmcrypt encrypted partition manually, e.g. from a live CD.

All our projects have enum-like requirements like this: An attribute value must be included in a given set of...

By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...

An association defined with has_many :through will return the same record multiple times if multiple join models for the...

An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...

This is a way to run multiple redis server on one ubuntu server. These steps you have to do only...

After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...

robots.thoughtbot.com

TL;DR {} binds stronger than do … end (as always in Ruby, special characters bind stronger than words) Demo

When talking to your MySQL server via a mysql shell, you can terminate queries by ; or \G -- the latter gives...

The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...

stackoverflow.com

Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...

Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.

makandra dev

When you do a script/dbconsole -p, your MySQL shell will already be using UTF-8. When you call it yourself...

This is surprisingly difficult when there is a with the same text on the page, but you really want to...

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

makandra dev
responsive.is

Online tool to test how a site behaves in popular desktop, tablet and phone resolutions.