To restart all tasks monitored by God, don't use god restart. This command is only meant to soft-restart...
The rendered font often depends on the local font your system provides, therefore you often find a rule like below...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...
To reload a single-item association in Rails 5+, call #reload_ : post.reload_author In older Railses you can say
Cucumber factory supports polymorphic associations out of the box. Just keep in mind that you need to use named associations...
Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...
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...
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...