saas application for ruby on rails