BetaInvite engine for rails applications