Gem Grinder Flashcards
What's that Ruby gem do again? The most common and useful gems.
1
Q
What is the purpose of the ‘uglifier’ gem?
A
When our app is pushed to production, it automatically removes all the comments & white spaces in the CSS and Javascript files.
2
Q
What is the purpose of the ‘pundit’ gem?
A
To provide user role management.
3
Q
What is the purpose of the ‘devise’ gem?
A
To provide user authentication.
4
Q
What is the purpose of the ‘thin’ gem?
A
So that our app can use ‘Thin’ as the webserver in production (As opposed to the default Web brick).
5
Q
What is the purpose of the ‘figaro’ gem?
A
To secure our app by keeping credentials out of Git.