RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: argnur
At first I had the same thought, but it's not going to work. The css classes are cached too, for all the users, so if the first user happens to be admin, the next users will see the cached admin version of the page. Vice versa, admins might be seeing just the user version of the page.