Rails contacts API practice