stackoverflow.com

In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...

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

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

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

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

This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...

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

You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.

Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...

makandra dev

This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...

makandra dev
github.com

Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.

Removing features and merging those changes back can be painful. Here is how it worked for me.\

When selecting records in a date range, take care not to do it like this: start_date = Date.parse('2007-05...

Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your...

The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does...

When you use google analytics to track your visitors interactions, you should ensure that it runs on your production site...