If you are developing a Rails app that requires user login, then it can be really helpful to have more than one browser window open at a time, with a separate user logged into each.
For example, I typically have an Administrator user with special privileges as well as regular users. I want to test my app from both perspectives at the same time.
Google Chrome allows you open Incognito Windows that store cookies, history, etc. in a sandbox that is destroyed when you close the window. This allows me to manage two active logins from Chrome.
Open up your first account in a normal window, then open an Incognito window and login as the second user... Simple!
Cookies, etc are shared between all Incognito windows and so you only get to have two active users, but even so this is really useful.
Firefox and other browsers have similar modes - Firefox has 'private browsing' - these may well give you similar functionality.
Archive of Tips
- ► 2013 (26)
- ► 2012 (28)
- ▼ June (6)
- ► 2010 (40)
- ► 2009 (53)
- ► 2008 (21)