The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
Font Awesome 5 is a comprehensive solution for vector icons on your website. Originally, Font Awesome came as an icon...
In this example we assume that not only the storage gem changes but also the file structure on disc.
A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...
Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...
As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
Why secure-only cookies used to be necessary Cookies have an optional secure flag. It tells the browser to not...
For webpages to load fast it's recommended to optimize images. Ideally an image's file size should be as...
The 90s are calling: they want their tables back. Unfortunately, you need them all for laying out your HTML emails...
When you need to store structured data (like Ruby hashes) in a single database column with ActiveRecord, a simple way...
When your JavaScript bundle is so massive that you cannot load it all up front, I would recommend to load...
You need to update a lof gems. Make sure you don't have any version constraints in your...
Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...
When a Rails controller action should handle both HTML and JSON responses, do not use request.xhr? to decide that. Use...
Rails applications and ruby gems should have a README that gives the reader a quick overview of the project. Its...
Situation: You want to write a spec for a function inside an Angular service. This function at some point makes...
PostgreSQL's Common Table Expressions (CTEs) can be used to extract sub-queries from bulky SQL statements into a temporary...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
A common pattern in Ruby is to to require all files in a specific diretory, using something like Dir.glob(Rails.root.join...
After loading a staging dump into development, you might get an ActiveRecord::EnvironmentMismatchError when trying to replace the database (like...
When localizing model attributes via I18n you may run into errors like this: I18n::InvalidPluralizationData: translation data {...
...} can not be...