As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
If an view spec crashes due to undefined helper methods, you can enable this option: # config/application.rb config.action_controller.include_all_helpers = true...
What is makandra cards? We are makandra, a team of 60 web developers, DevOps and UI/UX experts from Augsburg, Germany...
Raising errors for required and permitted attributes makes it easier to find errors in your application during development and in...
This card describes four variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly:
Postgres works differently See PostgreSQL: Difference between text and varchar columns for PostgreSQL-specific info MySQL has 4 different column...
Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...
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...
You can chain multiple Capybara matchers on the page or any element: expect(page) .to have_content('Example Course')
A list of implementation details that make for a better / expected user experience. Have these in mind when implementing a...
The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...
Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...
I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...
Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...
Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...
tl;dr We recommend configuring Selenium's unhandled prompt behavior to { default: 'ignore' }. When running tests in a real browser...
To show your key inputs on screen, e.g. for a screencast or screen sharing, you can use screenkey.
A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...
I, [2024-01-21T06:22:17.484221 #2698200] INFO -- : [4cdad7a4-8617-4bc9-84e9-c40364eea2e4] test
There are a few tools to combat the dreaded n+1 queries. The bullet gem notifies you of missing eager...
Ruby methods which load from a Yaml file, like YAML.safe_load or YAML.safe_load_file, support passing freeze: true to...