Thursday, December 22, 2011

Cleared Check Server v2 - what about adding data?

Yes it's ugly and full of smells but it works. However, what about adding in new cleared checks as they are downloaded or pulled from a cd.

First thing to do is pull out some of the logic into its own class and also add methods to append to the csv file.

Then lets add some more routes to app.rb, most of this was borrowed from the internet

and then some more borrowed code

Still smelly? You betcha. Still need tests? Absolutely.

No comments: