solnic.eu
Articles tagged with  data

Invalid Object Is An Anti-Pattern

December 28, 2015 by Piotr Solnica

The idea of an object that validates its own state has been made very popular by Rails’ ActiveRecord. We can see this pattern in many places, not only in ORM libraries but in many other gems whenever some sort of validation is needed.

Have you ever...


Importing Data With ROM and Transproc

July 15, 2015 by Piotr Solnica

Importing data into a database can be a complicated task. This process can be quite painful as you need to deal with data transformation, filling in missing information, specifying validation rules, handling errors and so on. Without proper tools to...