Thom Meas


410 Experience
4 Lessons Completed
0 Questions Solved


Posted in Symbols vs Strings Discussion

I'm still finding this a bit confusing because it seems like you're comparing apples to orange. The way I see it, which is why Im' confused is that a symbol represents something.
Like the :set_project symbol. It represents/contains the method that was defines. Where
Project was successfully created is a string and what is being represented by the notice: symbol. Am I understanding this wrong. Please clarify when you get the chance.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.