fix rails 4 warnings
Update documentation to make clear that values are now codes