
Run Rails 6 System Tests in Docker Using a Host Browser
The problem: we wanted to get Rails system tests running using a browser on our development machines.
The problem: we wanted to get Rails system tests running using a browser on our development machines.
Selenium! Capybara! Webdriver! chromedriver! …there are a LOT of moving parts in Rails system tests. Let’s break it down, layer by layer.
A critique of the emerging advice to encapsulate business domain actions in “Service Objects”.
Projects using Ruby on Rails often lack strong distinctions in two main areas: The model/record conflation: Seeing “models” as strictly DB-backed resources. The view/template conflation: failing to draw a line…
Is #try really so bad? In response to my recent post about #try being a code smell, a lot of people made the reasonable objection that the example I used—of…
agile/db_branch – GitHub I’d been looking for a way to manage databases for multiple branches of an app, and this is one of the (many) suggestions. tags: development database ruby…