If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...
GitLab has a RubyMine plugin that enables you to review and process merge requests within RubyMine! Setup Open RubyMine settings...
Most of the time, when you are interested in any log output, you see the logs directly on your console...
The linked MDN article is quite informative of a neat feature supported by all major browsers: Unicode character class escape...
SimpleForm comes with an option browser_validations which could be used to give fields that have a presence validation the...
RSpec examples can get quite long, especially in feature specs. This makes them hard to read & understand. Also, when executing...
ActiveRecord computes table names of model classes, and results are usually just like you'd expect. Adding a prefix for...
Currently we often use geordi to run cucumber and rspec tests. Geordi takes care of installing a matching chromedriver for...
In Rails 7.2. the feature ActiveRecord.after_all_transactions_commit was added, for code that may run either inside or outside...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...
When you repeat complex assertions in your tests multiple times, it might be a good idea to extract a custom...
If you want to build a small CLI application, that supports more advanced inputs than gets, I recommend using the...
The DB schema is the most important source of truth for your application and should be very self-explanatory. If...
tl;dr Set profile.password_manager_leak_detection to false in your Selenium Chrome options to disable password leak detection and...
If you need dummy data to play around with in development, it's often faster to reuse your existing factories...
It can be hard to understand what causes a browser scroll smoothly or instantly. CSS, JavaScript and the browser settings...
Say you wrap your index view in a form to apply different filters like pagination or a search query. On...
The :nth-child pseudo class is commonly used for targeting elements based on their position within a parent container, for...
When you want to filter records in a model where a string column roughly matches a given term, you can...
When you send automated emails from a noreply@-address, and the recipient has an out of office enabled, the autoreply...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
In Rails, the implicit_order_column (added in Rails 6) is a configuration option that helps you define the default...