In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
...equal $my-great-blue instead of blue. The reason is that custom property values behave differently and allow any kind of value to be assigned (thus not being bound to...
Setting array columns When using PostgreSQL array columns, you can set an array attribute to a value with square brackets...
simple_format ignores Rails' XSS protection. Even when called with an unsafe string, HTML characters will not be escaped or...
...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.
Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...
...I've seen examples using directory but there are no indications this attribute will become standard soon. Feel free to use to feel future-proof. On JavaScript file objects, webkitRelativePath...
People do. Whether consumers or developers, the end users of software are human beings who care about what's in the software. When the software changes, people want to...
If your application exports CSV, be advised that Excel and other spreadsheet applications treat certain cells (those starting with =, +, - or...
...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...
...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...
When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.
One of the many useful features of TextMate is autocompletion of words. If I were in TextMate right now, I...
Testing file download links in an end-to-end test can be painful, especially with Selenium. The attached download_helpers.rb provides...
The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...
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...
Starting with Rails 7.1 the production logger is set to standard out. For applications running with opscomplete ensure to keep...
...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...
Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...
Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...
tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
All direct child directories of app are automatically added to the eager- and autoload paths. They do NOT create a...
Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...
...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...