RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...
With ActiveType 1.2 you can modify associations (has_many etc.) after they have been defined. One common use case for...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...
jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...
It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in 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...
To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...
When doing some meta-programming magic and you want to do something for all attributes of a class, you may...
This is a short overview of things that are required to upgrade a project from the Asset Pipeline to Webpacker...
Rails' ActiveSupport::TimeWithZone objects have both a timezone code and offset, e.g. Thu, 28 Mar 2019 16:00:00 CET...
min-width is known as a CSS property that can be set to define a least width for an element...
When you have a powerful machine with many CPU cores, you might run into an error like
You can use .ids on an ActiveRecord scope to pluck all the ids of the relation: # Modern Rails User.where("users.name...
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...
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...
For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...