Menu
Alfredo Motta
  • Home
  • Newsletter
  • Articles
  • About me
  • Events
  • Books
  • Research
  • Learn to code in London
Alfredo Motta

Tag: designpattern

A different take on validation using the dry-validation gem

If you are using Rails and you find yourself fighting validations more often than you would like to, then you should consider watching my talk I gave at the London Ruby User Group this February about on dry-validation. I will present the API surface which uses a schema based declarative approach and I will compare…

How to isolate complex queries in an object oriented fashion

Building complex queries in ruby can make your code quite difficult to read, manage and reuse. In this blog post I’ll present a simple method to decorate active record objects to make your queries fun again!

©2022 Alfredo Motta | Powered by SuperbThemes & WordPress