blog.brennetot.comRspec and Capybara: how to use regex or stop caring about whitespacesI recently updated from Slim template to ERB to use Herb (Thanks Marco). I had to update a test that was very strict on the format. I realized that Capybara::Node::Simple doesn’t provide a selector for regex. The page object doesn’t have a match? met...Nov 25, 2025·1 min read
blog.brennetot.comRust, cargo with ZSH (auto complete)It is as simple as: rustup completions zsh > ~/.zfunc/_rustup rustup completions zsh cargo > ~/.zfunc/_cargo With a TAB you get the auto-complete or the options available: ❯ cargo b b -- alias: build bench -- Execute all benchmarks of a local ...Aug 15, 2025·1 min read
blog.brennetot.comConfiguration in Rails appLet’s not re-write a good article, go to: https://joyofrails.com/articles/mastering-custom-configuration-in-rails I mostly used config.x configuration that loads a yaml file with config_for that do the multi-environment by default: module YourApp c...Jul 22, 2025·1 min read
blog.brennetot.comRails load_defaults 6.1 explainedNo need to re-write the wheel, let me redirect to this great article from Lily Reile. Obviously still up-to-date and really useful as the official Rails doc is mostly showing the value before and after. https://lilyreile.medium.com/rails-6-1-new-fram...Oct 29, 2024·1 min read
blog.brennetot.comAppsignal V4 Ruby client changesI came around to update Appsignal gem to the new major version of Appsignal released at the end of August 2024: https://rubygems.org/gems/appsignal/versions/4.0.0 The upgrade was smooth. The real change for my application was to remove the parameter ...Sep 13, 2024·1 min read