For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists

You can say this in helpers like link_to and content_tag: = link_to 'Label', root_url, :data => { :foo => 'bar...

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

api.jquery.com

The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...

makandracards.com

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

heartbeat.skype.com

There was a bug in Skype that could cause messages to be sent to incorrect recipients (anyone, not only people...

makandracards.com

Added information about what jQuery considers "visible" Added a solution for Prototype Added a patch for Prototype that replaces the...

I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...

The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...

makandra dev

Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...

Your account profile now links to a personal RSS feed. This RSS feed contains the newest public and private cards...

Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...

Today, I ran into trouble on a fairly fresh installed VM, running Ubuntu. I tried to bundle install and got...

stackoverflow.com

When you use method_missing to have an object return something on a method call, always make sure you also...

Consider this Sass: .comment width: 320px; height: 240px; Any textarea with the comment class will be sized 320 by 240...

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

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

makandra dev

You can specify the version of bundler to execute a command (most often you need an older version of bundler...

In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:

When you are scrolling up to investigate a test failure it is super annoying when the terminal scrolls back down...

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

makandra dev

has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...

I've got often this error on just one server: Err http://de.archive.ubuntu.com precise/universe amd64 Packages 404 Not Found [IP...

github.com

In moderately complex authorization scenarios you will often find yourself writing a map like this: class NotesController < ApplicationController power :notes...