Monthly Archives: November 2012
Creating authentication from scratch in Rails 3.1
There are some popular authentication libraries like devise, Authlogic, Restful Authentication, Clearance in Ruby on Rails. But, you can implement of your own as well. Here, I’m explaining few simple steps to create your own authentication system in Rails 3.1. First, Create Run following commands from command prompt and then copy the codes in the…
Rename rails3 application
Just published new version of rename gem with following changes: Sanitize new name Search/Replace module name in all files under root and config Change session key Change directory name InstallationAdd this line to your application’s Gemfile: gem ‘rename’ Uses rails g rename:app_to NewNamerails g rename:app_to “New-Name”