I have been looking into what exactly a Ruby symbol is and have gotten
some decent info on how they work. I have only one question, how are
they used in functions like in Rails? I see Rails function like:
func(“string”, :symbol => “string”)
How is the combination of the symbol and the string being used inside
the function? Is this some kind of convention?
I don’t want to start another war on what symbols are for, I just want a
little clarification on how they are used in the context I provided