I'm trying to convert a string in snake case to normal case(Eg: "hello_world" to "Hello world")
I'm pretty new to ruby, and I'm using it with Rails. I found this question Converting string from snake_case to CamelCase in Ruby, and it seems like there is a function for that usecase (.camelize
). Is there anything that I can use inbuilt like that? If not, how can I achieve this?