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

MySQL version 5.1 comes with an alternative, faster InnoDB implementation (called "InnoDB Plugin"). Switching is easy: Stop your mysqld with...

Possible Reason 1: parallel_tests - running more processes than features If you run old versions of parallel_tests with more...

For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...

Forms with many inputs (600+ in my case) become extremely unresponsive on an iPad, up to the point where it...

makandra dev
blog.jquery.com

Two new methods on and off are the new way of declaring event handlers. bind, delegate and live area deprecated...