287 code climate part 1

This relates to #287 

I've found the gem annotate useful because it tells you all the fields and what specs they have.

https://github.com/ctran/annotate_models