SVG is an acronym for "scalable vector graphics". SVGs should be used whenever an image can be described with vector...
Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...
#reverse_order does not work with complex sorting constraints and may even silently create malformed SQL for rails < 5.
Rails 5 / 6 / 7 Method Uses Default Accessor Saves to Database Runs Validations Runs Callbacks Updates updated_at/updated_on Respects Readonly...
AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...
You might get the above error message when cloning certain git repositories (for example the rails repository). It indicates that...
You can find great stock photos on pexels.com. All pictures are free for personal and commercial use without attribution, and...
Detect if a gem has been activated A gem is activated if it is either in the current bundle (Gemfile.lock...
To get your F12 key back for other shortcuts, stop Tilda: killall tilda To prevent Tilda from starting on boot...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
This error can be caused by the mysql2 gem under mysterious circumstances. You need to remove it with gem uninstall...
Say you have an RGBA color that you need as a non-transparent color because of reasons. Basically, this is...
Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...
I've encountered a Ubuntu 16.04 today, where localhost resolved to ::1 instead of 127.0.0.1. This will not usually make...
Good article about what "gamma correction" means for color processing, and what "sRGB" actually means. You probably do not need...
Rails 5 migration classes look like this now: class CreateUsers < ActiveRecord::Migration[5.0] Mind the [5.0] at the end.
When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle call returns...
ActiveSupport::Notifications provides an instrumentation API for Ruby. It is used throughout rails to publish instrumentation events that include information...
A few releases back, Chrome started using a Material Design UI on desktop. If you don't like it (on...
Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...
You know those helper methods that just render some HTML but look weird because of content_tags all over the...
In this article, we’ll look at what side effects are, why they are problematic despite being necessary, and how...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
If you were using Dusen for its query parsing and LIKE queries, we recommend to migrate to Minidusen, which extracts...