Schembri on Software
  • Home
  • About
  • Uses
Subscribe

Ruby

A collection of 4 posts

Ruby
A person with their eyes gently covered by another person's hands, creating a mysterious and introspective atmosphere. The background is dark, highlighting the focus on the individuals.
13 Aug 2024 • 1 min read

Remove the 'Choose Your Search Engine' Dialog in Capybara

Google recently added a dialog to let users select their search engine. Ordinarily you choose your preferred search engine and get on with life, but this doesn't appear to be the case when using Chrome for automation, such as through Capybara; everything is fine if running in headless

Read more
Several humpback whales with open mouths feeding at the surface of the ocean.
13 Mar 2021 • 6 min read

RubyMine with Docker

Lately I've been experimenting with RubyMine. I've played around with it in the past, but always ended up back on vim for various reasons. This time I'm making a concerted effort to learn its feature set and make them work for me, and so

Read more
Close-up of a car dashboard showing speedometer and other gauges.
27 Feb 2020 • 2 min read

Faster Excel Parsing in Ruby

When exporting data for general use, we commonly reach for CSV files; they're basically plain-text, but with a sort-of agreed-upon structure — well, there is RFC 4180 but Wikipedia agrees that implementations are inconsistent at best. For the layperson, though, Excel sheets are what's used and understood.

Read more
A person wearing blue gloves preparing a syringe with liquid from a vial in a laboratory setting.
26 Aug 2018 • 5 min read

Testing APIs in Ruby with RSpec

Testing API calls is a little bit hairy. We can assume that the API will return the results specified in their documentation, but we'd still like to see what our API client returns; this may differ considerably from what the API itself gives us. The last thing we

Read more
  • bluesky
  • github
  • linkedin
© Schembri on Software. All rights reserved.