A few releases back, Chrome started using a Material Design UI on desktop. If you don't like it (on...

Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...

You know those helper methods that just render some HTML but look weird because of content_tags all over the...

github.com

We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...

github.com

If you were using Dusen for its query parsing and LIKE queries, we recommend to migrate to Minidusen, which extracts...

makandra dev
ohshitgit.com

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation...

makandra dev
github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

weareoutman.github.io

ClockPicker is a JavaScript and Bootstrap implementation of an Android-style time picker which looks and feels great. Unfortunately, it...

You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...

makandra dev

Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...

Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...

makandra dev

Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...

On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...

speakerdeck.com

Presentation about optimizing Ruby on Rails apps. From Nico Hagenburger (homify's lead frontend developer).

If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...

To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...

This pretty-prints a JSON object, with two spaces of indentation: JSON.stringify(object, null, 2)

Ruby's __FILE__ keyword returns the path to the current file. On popular for this are Ruby binaries: #!/usr/bin/env ruby...

To check the currently running PG version from your Rails application (e.g. Rails console on your production server), simply do...

When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...

We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

makandra dev
piwik.org

Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...

When your controller action raises an unhandled exception, Rails will look at the exception's class and choose an appropriate...