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:) %>

makandra Curriculum

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

makandra Operations

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

makandra dev

10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...

gridbyexample.com

Rachel Andrew has built a website about CSS Grid. Video tutorials More than 30 layout examples for feature demonstration

You can chain multiple Capybara matchers on the page or any element: expect(page) .to have_content('Example Course')

I recently built a screen with a very high and wide table in the center. This posed some challenges:

The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...

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

Sometimes you have a file that is related to a project, while not actually being part of it. You'd...

makandra dev
whattrainisitnow.com

The linked table shows the support lifecycle for Firefox Extended Support Releases (ESR) which we sometimes need to support for...

tl;dr We recommend configuring Selenium's unhandled prompt behavior to "ignore". When running tests in a real browser, we...

Your development server is usually running on an insecure HTTP connection which is perfectly fine for development.