This is one possibility to do this. There are other and maybe even better ways to do this.

Under Settings / Appearance you can uncheck a box Animate windows. This will change your life. This setting seems to not...

makandra dev

If you need to debug Analytics tracking, consider using this chrome extension. It will replace the tracking code with a...

makandra dev

When you are calling a method that may raise an exception that you don't care about, you might think...

makandra dev

This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...

Undeterministically I got a nil error on saving the object caused by the random order of hash elements of the...

Let's say you need to revert a migration that happened a while back. You'd create a new migration...

Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:

When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...

If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...

If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...

When your model is using a callback like before_save or before_validation to calculate an aggregated value from its...

will_paginate triggers a database query to determine the total number of entries (i.e. to let you display the number...

Delegating methods to other objects is often helpful but the syntax of both def_delegators and def_delegator is a...

You probably know about the possibility to tag scenarios in Cucumber to run your own piece of code before the...

In MySQL comparing zero to a string 0 = "any string" is always true! So when you want to compare a...

When your gems complain about invalid gemspecs and illformed requirements, it is most probably an error resulting from the transition...

You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.

Don't you just hate to write Cucumber path helpers to be able to say this?

makandra dev

Copy the attached file to config/initializers/indent_string.rb and you can say "foo".indent(4) # " foo" Note you will find many simpler...

You can now add code blocks without indentation, by using triple-backticks: ``` Code block goes here. ```

When deploying code with Capistrano (depending on your configuration) at some point Capistrano tries to check out code from your...

Imagine you have a piece of code that tries to send a request to a remote server. Now the server...

makandra dev
stackoverflow.com

If your git index for some reason becomes invalid, no need to worry. Your index is corrupt when you see...