A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...
Tempfiles get deleted automatically With the the ruby Tempfile class you can create temporary files. Those files only stick around...
This article describes how to reset MySQL's or MariaDB's root password on your workstation. It's meant for...
There are many fun Unicode characters like ▲ or ☯. You might be tempted to use them for graphical elements in lieu...
Assuming the following sunspot setup of the post class: class Post < ActiveRecord::Base searchable do text :title string :state
Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...
Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...
When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...
Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...
If you encounter a Firefox that does not care about your font settings but always uses specific fonts, you can...
Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...
For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...
By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets. If you have asset manifests...
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...
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...
Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons
No big features, but many improvements under the hood: Faster selector engine Many bug fixes Note that jQuery 2.0, scheduled...
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...
assignable_values now lets you define a secondary default that is only used if the primary default value is not...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...