makandra Curriculum

makandra offers an 8 month paid trainee program 🇩🇪 for junior developers that are looking to start a professional career in...

docs.zizmor.sh

The linked tool can be used to scan your CI/CD workflows for potential security issues and suboptimal defaults if they...

In Rails 8 the behavior of the rails db:migrate command has changed for fresh databases (see PR #52830).

makandra dev
unpoly.com

This release adds asynchronous compilers and many other features requested by the community. We also fixed a number of performance...

I had to modify the time for an application that I launch through Docker. Here is an approach that worked...

prettier calls itself an opinionated code formatter. I recommend using it for your JavaScript and TypeScript code. prettier only concerns...

If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...

Coverage reports are rarely useful if you run only small parts of your test suite. Just do not load SimpleCov...

SimpleForm comes with an option browser_validations which could be used to give fields that have a presence validation the...

ActiveRecord computes table names of model classes, and results are usually just like you'd expect. Adding a prefix for...

api.rubyonrails.org

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...

Modern CSS offers the field-sizing property to allow elements to automatically adjust size (width and/or height) to fit their...

When you repeat complex assertions in your tests multiple times, it might be a good idea to extract a custom...

makandra dev
github.com

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...

Even if you don't make any beginner mistakes like N+1 queries or missing DB indices, some requests can...

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...

You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...

For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...

DirectUpload allows you to upload files to your file storage without having to wait for the form to submit. It...