switch from rails-api to rails, not just pure API