YJIT is Ruby's default just-in-time compiler. It is considered production-ready since Ruby 3.2 (source).
A lesser known fact about PG enums is that they are ordered. This can be really handy when values have...
We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...
If a Cucumber run deletes your application directory, an integration fail between Capybara and Capybara Screenshot may be the cause...
This talk shows simple and advanced usages of the ruby/debug debugger. It goes through a step by step debugging workflow...
Starting with ChromeDriver 127, if your application displays a beforeunload confirmation dialog, ChromeDriver will immediately close it. In consequence, any...
I recently stumbled upon the Rails feature composed_of. One of our applications dealt with a lot of addresses and...
While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
This card shows an uncommon way to retrieve a file using selenium where JavaScript is used to return a binary...
If you want someone to be able to access your rails console, but don't want them to be able...
Fresh Chrome installations now show a "Choose your search engine" popup in Europe. This might make your Cucumber tests fail...
This card is a short summary on different ways of assigning multiple attributes to an instance of a class.
Using Capistrano, we usually have some array configurations in the config/deploy.rb file, like set :linked_files, %w[config/database.yml], so in...
I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...
In Rails 7.1 it has become possible to annotate partials with the locals they expect: # partial _user_name.erb <%# locals: (user:) %>
While the Software Design Basics card tried to make a point about writing self explanatory code, it's still...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
We are using assignable_values for managing enum values in Rails. Nevertheless Rails is adding more support for enum attributes...
Why do we migrate? Due to a change in licensing, we cannot provide Elasticsearch versions >= 8.0. Version 7.17.x will...
Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...
If you are using git submodules in Gitlab CI, you might run into a "The project you were looking for...
jq is great when dealing with JSON data. Check out the official jq Manual. Content Select only specific keys
tl;dr Prefer request specs over end-to-end tests (Capybara) to joyfully test file downloads! Why? Testing file downloads
10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...