mercredi 1 novembre 2017

what is the difference between symbol in rails?

:xyz & 'xyz'

Checked irb : xyz == 'xyz' is false. But we can call the function inside rails using :index or 'index' please clear the doubt thanks.

Aucun commentaire:

Enregistrer un commentaire