rails codebase for mysnips application