The way MySQL's FULLTEXT tokenizer splits text into word tokens might not always be what you need. E.g. it...

When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them...

Static error pages To add a few basic styles to the default error pages in Rails, just edit the default...

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

httpd.apache.org

Debugging .htaccess is hell, and RewriteRules in particular if they are not working as expected. But fear not! RewriteLog will...

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

If you get a stacktrace complaining about uninitialized constant MysqlCompat::MysqlRes a system library update might broke your gem.

Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...

leemunroe.com

Shows how to implement an animated progress bar in pure CSS, without animated GIFs, Javascript or Flash.

When is this useful? When both parent and child elements have borders, with this technique you don't get two...

makandra dev
github.com

Richard Powell presents a collection of CSS styling advice that's mainly taken from SMACSS. Although at makandra we're...

makandra dev
github.com

Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between...

If you get this warning on your local machine one of these steps might help: Rebuilt the gem with the...

Example task: Multiply the table holidays between several stages. Open two terminals: shell-for stage_1 shell-for stage_2...

If some of your JavaScripts fail on Internet Explorer, but only in staging or production environments, chances are that JavaScript...

Today I got a better understanding of how git works, in particular what git checkout and git reset do.

Given you store files on Amazon S3 and you need to stream those files out to people while you don...

Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...

When you get an error like this: Invalid gemspec in [/opt/www/foo-project.makandra.de/shared/bundle/ruby/1.8/specifications/carrierwave-0.6.2.gemspec]: Illformed requirement ["# 1.1.4"] ... the machine's Rubygems needs to...

We frequently use the handy Paperclip Gem to manage file attachments. If you need to move the files from local...

youtube.com

Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...

makandra dev
github.com

pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...

This article describes how to reset MySQL's or MariaDB's root password on your workstation. It's meant for...