Writing rake task in rails with namespace, parameters

Rake tasks itself defines that “they are bunch of ruby code that performs some task.”Rake tasks are placed in lib/tasks directory of application and files have .rake extension.There are many lovable tasks defined in rails. read moreRake tasks are executed from console.Benefit of writing rake task areTesting of codeScheduled rake tasks ( backgroundRb and scheduled … Continue reading Writing rake task in rails with namespace, parameters

Understanding and creating radinat extensions

Understanding and creating radinat extensionsTo start with, first of all lets know what is radiant and why to use it ?Radiant is a open source content management system designed that serves cms needs forsmall organisationsCreating new radint application radiant -d mysql cms create create CHANGELOG create CONTRIBUTORS create INSTALL create LICENSE create README create config … Continue reading Understanding and creating radinat extensions

Capistrano + Nginx + Thin deployment on Linode

This was long lost post I had written about 8 months ago (converted from wiki to HTML - so pardon typos if any) Terminologies Capistrano is a ruby gem which helps in remote deployment. As against widely known convention, Capistrano can be used for any deployment, not just a rails app! Nginx is a web-proxy … Continue reading Capistrano + Nginx + Thin deployment on Linode