The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
There are many ways to optimize SVGs. Ideally, your build pipeline does that automatically for you (e.g. via postcss-svgo...
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...
The exception_notification gem supports to provide custom data to e.g. the fail mail within foreground or background jobs. ExceptionNotifier.notify...
We figured out, that ActiveJob Inline might lead to autoloading problems in development. The result was an exception when running...
Occasionally, your designer will hand you designs where elements break the layout's horizontal container width, like navigation buttons of...
Deployment ready for Opscomplete Copying view and controller templates over to target application during basics configuration or via...
When you created a project on the Google API Console which is not being used, you may receive an e...
Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle
There are two ways to lock a user in devise. Using the lockable module Customizing the user account status validation...
jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...
When you are using lambdas in RSpec to assert certain changes of a call, you know this syntax: expect { playlist.destroy...
Ubuntu has decided to disable PDF processing because ImageMagick and the underlying Ghostscript had several security issues. When your Ghostscript...
This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...
Setting array columns When using PostgreSQL array columns, you can set an array attribute to a value with square brackets...
Percent Notation We already know that that we can create strings using the percent notation: %(<foo="bar's ton">) is...
It is very common to parse dates from strings. It seems obvious to use Date.parse for this job. However this...
Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...
Rubymine 2024.3 bundles Grazie Lite by default. You need to enabled "German" under Settings/Preferences | Editor | Natural Languages.
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
Starting with Ruby 2.0 you can define methods with keyword arguments. In 2.1+ required keyword arguments can be defined by...
When debugging your application, you will come across objects created by some gem or framework. You don't have the...