In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.
When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...
If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...
Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...
We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals...
GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...
These warnings are printed when the etc Gem is installed, while etc is also included in Ruby. Fix with:
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...
An unresponsive service can be worse than a down one. It can tie up your entire system if not handled...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
In case you want to use pry with an older version of Ruby, you can try the following configurations.
Ruby and Rails have several methods for creating a new object that looks like another: clone, dup, deep_dup. When...
When you have many changes, and you want to spread them across different commits, here is a way to stage...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...
"Everything in Ruby is an object". This is also true for nested hashes and arrays. If you copy a hash...
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...
Embedding videos on a website is very easy, add a tag to your source code and it just works...
Ruby's Net::HTTP library repeats a failing request once, as long as it deems it idempotent (GET, HEAD etc...
TLS/SSL certificates are often used for HTTPS traffic. Occasionally a service may also use their TLS certificate to support public...
The linked article has a great explanation how to to deal with string encodings in Ruby. Furthermore you can check...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...