Decided against rails. Using keystonejs instead