This is quite an edge case, and appears like a bug in Rails (4.2.6) to me. Update: This is now...

Note: This applies to plain Ruby scripts, Rails does not have this issue. When you work with Ruby strings, those...

makandra dev
dev.mensfeld.pl

Ruby 2.3.0 has been around since end of 2015. It brings some pretty nice new features! Make sure to read...

mitrev.net

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...

blog.blockscore.com

#dig lets you easily traverse nested hashes, arrays, or even a mix of them. It returns nil if any intermediate...

The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

Reading user input in console applications is usually done using Kernel#gets. Stubbing that can be a bit hairy.

makandra dev
stackoverflow.com

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...

jakearchibald.com

The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...

makandra dev

Have you ever mistaken one Rails environment for another? The attached helper will help you to never do it again...

addons.mozilla.org

This extension allows you to manually sort (order) your folders in the folder pane of Thunderbird or automatically sort them...

kb.wisc.edu

When receiving a new SSL-Certificate for an existing SSL-key it should be checked that they match cryptographically.

makandra dev
github.com

It claims to be even faster and brings a new plugin that polyfills object-fit and object-position. This allows...

As your Rails project grows, you will accumulate a number of small patches. These will usually fix a bug in...

makandra dev
vectormagic.com

Automatically convert bitmap images like JPEGs, GIFs and PNGs to the crisp, clean, scalable vector art of EPS, SVG, and...

to create a Gallery that has a name and has_many :images, which in turn have a...

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

The attached ImageLoader helper will start fetching an image and return an image that is resolved once the image is...

redis.io

In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...

jQuery's find looks in the element's descendants. It will never return the current element itself, even if the...

makandra dev
browsercookielimits.squawky.net

TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...