For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...
You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the...
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...
Be careful when stubbing out attributes on records that are defined by associations. Nothing is as it seems to be...
I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and...
It might be one of the following: You are looking at a manifest file (like application.css) which is always empty...
No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...
The attached initializer gives your hashes a #deep_slice method that lets you recursively slice their contents by a given...
ReText is a cross-platform WYSIWYG-ish Markdown editor. Toggle editor and preview layout with Ctrl+E.\
Testing with real live production data does come with at least one catch. All those real live users in your...
So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile...
Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...
The behaviour of browsers is very inconsistent when an Ajax request is answered with a redirect. Highlights are:
A number of issues concerning Sass/SCSS autocompletion and syntax highlighting were submitted as a feedback for RubyMine 4.5. Web development...
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...
You can use String#demodulize from ActiveSupport: "ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" "Inflections".demodulize # => "Inflections"
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...
The usage shares of your site highly depends on your target audience. E.g. no Internet Explorer has ever seen hollyapp.com...
Don't say is_a?(ActiveRecord::NamedScope::Scope) because that is no longer true in Rails 3 and also doesn...
paper_trail is an excellent gem to track record versions and changes. You almost never want to reimplement something like...
When we looked at this card together a year ago, we were no longer sure if unquote is actually useful...
The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...