If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...

Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...

makandra dev
github.com

Extends the Chrome WebInspector so you can debug AngularJS applications and hunt down performance issues. It's really, really good...

We tend to use database transactions as a magic bullet to get rid of all our concurrency problems. When things...

For websites that don't do JavaScript rendering on the client, it's best practice to put script tags at...

Merge requests are often rejected for similar reasons. To avoid this, before you send a merge request, please confirm that...

Rails gives you migrations to change your database schema with simple commands like add_column or update. Unfortunately these commands...

Note: This technique is confusing and slows down your test suite. Copy the attached code to features/support. This gets you...

stackoverflow.com

When you use ab to do some performance benchmarking, you might run into output like this: Complete requests: 200

ariejan.net

Rails understands a :limit options when you create columns in a migration. Its meaning depends on the column type, and...

igvita.com

About Chrome's network stack and optimizations to load web pages faster.

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...

When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...

If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...

progfu.com

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

coding.smashingmagazine.com

JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications...

makandra dev
github.com

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

For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...

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

makandra dev

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

ubuntudigest.blogspot.de

The linked article describes how to use a Firefox addon "Flash-Aid" to install a better build of Flash and...

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...