This will make MySQL log all received queries so you can see for yourself what happens on the database level...

makandracards.com

The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...

If you want to install rabbitmq plugins on Ubuntu 12.04 you can do this with: /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/rabbitmq-plugins This binary is not...

Check if you have puppetsync enabled on the master and client [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet...

In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...

CSS is a lot easier to write and read than clumsy XPath expressions. So when you need to use XPath...

Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...

Always use simply require 'spec_helper' If you mix it up like require 'spec_helper' require File.dirname(__FILE__) + '/../spec_helper'

w3.org

Media Queries have reached W3C Recommendation on June 19th 2012. If you were interested in other (future) web standards you...

If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...

In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...

This script loads a dump into your development database. You can provide the full path to you database dump like...

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

blog.httpwatch.com

Myth #5 (Each HTTPS Site Needs its Own Public IP Address) is actually still true, but the rest of the...

The following code activates autoloading using ActiveSupport 3.x: require 'active_support' require 'active_support/dependencies' relative_load_paths = %w[app/controllers...

github.com

Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

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.

stackoverflow.com

%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...

37signals.com

# Generate paths and URLs > app.project_path(Project.last) => "/projects/34" # Make requests > app.get '/projects/34' => 200 > app.response.body => " ..." # Use helpers helper.truncate("Foobar", length: 5...

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