Bastin

Bastin

I'm a full‑stack Ruby on Rails engineer with 4+ years of experience building and scaling web apps end‑to‑end. I work across Rails (v5–v7.2.1), Hotwire/Stimulus, PostgreSQL/Redis/MySQL, and modern JS/TS with hands‑on DevOps in AWS (MediaConvert, SNS, S3, EC2), Docker, CI/CD, Git, and Sidekiq. I'm currently exploring React and Next.js.
authorImg Bastin

Rails 8 adds conditional allow_nil and allow_blank in model validations

Use callable allow_nil/allow_blank to make validations depend on model state without duplicating rules.