I want my login URL to be case insensitive in my Rails application. e.g if the user types in 'User_Login' it should redirect to 'user_login'. I m using rails 3.1. Any help would be appreciated.
Thanks
I want my login URL to be case insensitive in my Rails application. e.g if the user types in 'User_Login' it should redirect to 'user_login'. I m using rails 3.1. Any help would be appreciated.
Thanks
Had the same problem a long time ago. Have a look at my solution here:
http://gehling.dk/2010/02/how-to-make-rails-routing-case-insensitive/
/ Carsten