Cymen Vig

Software Craftsman

Day 60: syncation continues

Today I paired with Mark to finish up the work on syncing (really a one way pull) of some data from one system to another system. It was mostly straight forward however we ran into some odd bugs and learned that .to_json takes a :method argument that specifies what methods should be run on the object being converted to JSON. Otherwise it ignores those methods and you get nil values which isn’t fun at all. Thanks to Kevin for pointing that out to us!