Gem Grinder Flashcards

What's that Ruby gem do again? The most common and useful gems.

You may prefer our related Brainscape-certified flashcards:
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the ‘pundit’ gem?

A

To provide user role management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the ‘devise’ gem?

A

To provide user authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the ‘figaro’ gem?

A

To secure our app by keeping credentials out of Git.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly