Change relations to Rails 4 style

Signed-off-by: Jonathan Bravata <jon@element-labs.com>