Chore/rails best practices

[WIP]