If you migrate a Rails application from Sprockets to Webpack(er), you can either transpile your CoffeeScript files to JavaScript...
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:
We use Sentry to be informed about different kinds of issues. One of the key features is that you are...
"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...
If you have a :string or :text field, you should pair it with a model validation that restricts its length...
Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...
FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...
Let's say you want to merge the properties of two JavaScript objects: let a = { foo: 1, bar: 2 }
TL;DR PostgreSQL handles Rails 4+ text and string columns the same. Some libraries may still reflect on the column...
Select2 is a fantastic library for advanced dropdown boxes, but it depends on jQuery. Alternatives Tom Select
In a web application you sometimes have tasks that can not be processed during a request but need to go...
Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...
If you render markdown from user input, an attacker might be able to use this to inject javascript code into...
There is a reasonable simple way to move data between Redis servers: Simply temporarily configure the new server as a...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
betterspecs.org is a documentation on how to write better RSpec tests. Note that there are also other approaches like The...
We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...
One of the earliest pieces of wisdom we are given as programmers is to not write duplicate code: Don’t...
Using git fixup helps you to speed up appending changes further back in the git history of your feature branch...
In case you want to use pry with an older version of Ruby, you can try the following configurations.