So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...

logicalfriday.com

How delayed jobs can make your after_save callbacks execute before the record is saved.

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

jetbrains.com

You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the...

Be careful when stubbing out attributes on records that are defined by associations. Nothing is as it seems to be...

github.com

No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...

So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile...

dev.mysql.com

The next version of MySQL will include a built-in memcached daemon. This daemon can quickly get and set key/value...

assignable_values now lets you define a secondary default that is only used if the primary default value is not...

github.com

paper_trail is an excellent gem to track record versions and changes. You almost never want to reimplement something like...

The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...

Unless you changed the default, this will be 16 MB: mysql> SHOW VARIABLES WHERE Variable_name="max_allowed_packet"; +--------------------+----------+

Sometimes, you may want to open up a second database connection, to a read slave or another database. When doing...

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

I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...

makandra dev

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

In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:

If you upgrade to the mysql2 gem, you will run into the problem that the server's database.yml (which is...

ubuntudigest.blogspot.de

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

This script loads a dump into your development database. You can provide the full path to you database dump like...

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

derwiki.tumblr.com

Some advice for bulk loading many records into InnoDB and finishing before the sun burns out. Use with care.

jakearchibald.github.com

Building CSS mobile-first is the way forward, because blah blah blah progressive enhancement blah. Problem is, Internet Explorer prior...

Probably was in the repository once and got deleted in a commit that you pulled.