I have a record called a PMR. Each PMR has a number of Signatures.
Each Signature has a number of Lines.
Currently I have a routine that is feed an entire PMR as a file and it
parses it into the proper structure and stores it.
The problem is that the PMR gross over time. I am receiving it from
another application. The easiest way to get it is to just get the
I can re-parse the whole thing and create the internal Ruby
structures. That process is pretty fast. But then what? Should I
fetch the old and compare record by record and update only what
changes? Or I could delete the old and save the new.