Rails Extension for SaaS application