Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
Here is how to make Rome datepicker look like the rest of your Bootstrap 4 application. Rome comes with very...
From at least Rails 4, the ActionView tag helper turns Array values of HTML options into a single space-separated...
Webpacker is Rails' way of integrating Webpack, and version 4 has been released just a few days ago, allowing us...
Rails' params hash contains any request parameters (URL parameters or request payload) as well as routing parameters like :controller, :action...
We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...
Today's cameras create huge images, some beyond 50MB. Unless you need to offer this large files, you should always...
Class-level process definitions are only applied to the original file Versions are generated based on the processed original file...
See the attached link for a useful overview of modern (and classic) DOM API methods, like matches, contains, append, cssText...
Bundler 2 requires at least Ruby 2.3.0 and RubyGems 2.5.0. You might get the following error when you try to...
For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
If your app does not need to support IE11, you can use most ES6 features without a build step. Just...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
When doing Basic Authentication, your browser will send an "Authorization" header. Its value is simply a Base64-encoded representation of...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
Cucumber factory supports polymorphic associations out of the box. Just keep in mind that you need to use named associations...
When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...
The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
When projects run for many years, they require special regular maintenance to stay fresh. This kind of maintenance is usually...
If your Rubymine does not recognize a file type correctly although you have entered the unmistakeable file extension like material_orders_controller.rb...