You can define methods using def or define_method. In the real world, there is no performance difference.
Apparently you can pash a second scope to a hash-condition and the whole thing will be evaluated as a...
When using ImageMagick to manipulate images, you might see that images get darker when beeing modified by newer versions of...
I had an issue with icons from an icon font aligning differently on Linux, iOS and Windows (seemingly browser-independent...
The Codeless Code is a charming series of stories about monks and nuns at a programming monastery. Some stories to...
This is quite an edge case, and appears like a bug in Rails (4.2.6) to me. Update: This is now...
When ActiveRecord child objects are autosaved in Rails.
Note: This applies to plain Ruby scripts, Rails does not have this issue. When you work with Ruby strings, those...
Ruby 2.3.0 has been around since end of 2015. It brings some pretty nice new features! Make sure to read...
As announced before, Ruby has introduced a safe navigation operator with version 2.3.0. receiver&.method prevents NoMethodErrors by intercepting method...
Processes in Linux might be put into Swap ("virtual memory") occasionally. Even parts of a single process might be removed...
The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...
All new browsers support the new object-fit CSS property. It allows to specify how an element behaves within its...
Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...
Macs render fonts bolder than they are, especially on dark background. This can be fixed by configuring the font smoothing...
Reading user input in console applications is usually done using Kernel#gets. Stubbing that can be a bit hairy.
As you may know, HAML expands data attributes that are given as a hash: %div{ data: { count: 3 } }
IE has a "Compatibility Mode" for old browsers. You can keep IE from offering it (and fix some other things...
PostgreSQL uses the C library's locale facilities for sorting strings: First, all the letters are compared, ignoring spaces and...
Have you ever mistaken one Rails environment for another? The attached helper will help you to never do it again...
This extension allows you to manually sort (order) your folders in the folder pane of Thunderbird or automatically sort them...
When receiving a new SSL-Certificate for an existing SSL-key it should be checked that they match cryptographically.
Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...
It claims to be even faster and brings a new plugin that polyfills object-fit and object-position. This allows...