By default, Devise sends all emails synchronously with deliver_now. To change that, Devise's readme suggests overwriting the send...
...in development. Note that there are services like badssl.com to test against weird SSL behavior. Self-signed certificates Talking to a host using a self-signed certificate will fail because...
...connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Best case scenario: the remote system's administrator understands and fixes this issue.
To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...
...be aware of its security implications. Both variants have options to change their default behaviour. Search engines and redirects If you have a public facing website that ranks on search...
...accept both optional and keyword arguments is dangerous and should be avoided. This confusing behavior will be deprecated in Ruby 2.7 and removed in Ruby 3, but right now you...
end end colored_p(User.new) # ArgumentError: unknown keywords: first_name, last_name This behavior is not very smart. The easy fix is just to never mix optional and keyword...
The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...
In esbuild, you usually import other files using relative paths: import './some-related-module' import `../../utils/some-utility-module` import `../../../css/some-css.sass` This is totally fine...
Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
This are the steps I needed to do to add esbuild to an application that used the vanilla rails asset...
...their expected input (e.g. username, email, current-password, cc-number), browsers can offer a better autocomplete experience. There's a host of possible values. Try it live! Better Mobile Inputs...
In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
Starting with Rails 7.1 the production logger is set to standard out. For applications running with opscomplete ensure to keep...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...
Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...
...to the original file Versions are generated based on the processed original file Callbacks (before/after) are applied to original file and each version by itself Under the hood, a version...
...a strategy to manually enable certain origins to interchange data. Because CSRF exploits browser behavior, its mitigation CORS is also implemented by browsers. CORS procedure The CORS workflow is basically...
...not do that and if everything was fine before, maybe just restore the previous behavior by adding environment.loaders.delete('nodeModules') to your environment.js. If you used postcss-cssnext before, add it...
If you're frequently switching between projects, you might be annoyed by RubyMines behavior of opening the last project on startup. After all loading a project takes a few seconds...
...a dialog to choose the project to open. This can be set under Appearance & Behavior > System Settings > Project > Reopen projects on startup. Switching to other projects A helpful dialog for...
On Chrome, Firefox and modern Safari, document.scrollingElement will return the element. The behavior varies on legacy browsers that we no longer support: Old Safari versions, document.scrollingElement will return...
All direct child directories of app are automatically added to the eager- and autoload paths. They do NOT create a...
...of a datepicker or just the english one. Most often you want to import beside the default JS defined in the package.json the styles of the library.