Most of the time it is a tedious task to apply a code style guide to an existing code...
As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...
There are a few ways to access view helpers from the Rails console. The easiest way is the helper shortcut...
You can use constraints in your routes.rb to avoid getting ActionView::MissingTemplate errors when wrong routes are called. Instead, the...
I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...
Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...
If you use webpacker in your Rails application, and you have completely disabled Sprockets, you might get the following error...
When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
Katapult was an endeavor to dramatically speed up starting a new Rails application. However, it turned out to save less...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...
The issue in this card can occur if the node_modules directory is checked into your Git repository. We usually...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...
Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
Tod is a gem for working with daytimes. That's a tuple of (hour, minute second) without a day, month...