David Ng said about 4 years ago on Authentication Crash Course with Devise :
I follow the instructions, but the side bar does not collapse.