Render different HTML/JSON/XML templates for phones, tablets, and desktop browsers. Variants make it easy.
Rails Active Record Validations with custom contexts
Rails Active Record Validations with lambdas and localisation
It's great, your code works in production and is fast enough. Is it readable? maintainable? would you be able to remember the intent through time?
I was initially drawn to dev.to after reading a medium dev.to article about how fast the platform is....