Rails Methods Flashcards

1
Q

How to convert ‘string_with_underscore’ to something readable?

A

‘string_with_underscore’.titleize # => “String With Underscore”

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