Ask A Question

Notifications

You’re not receiving notifications from this thread.

Using symbols is Thread Safe in Rails ?

Pardha asked in Rails

Hi,

     I read a good article about Thread Safe in Rails. Here is  the [link](https://bearmetal.eu/theden/how-do-i-know-whether-my-rails-app-is-thread-safe-or-not/).
             One thing that I couldn't wrap my head is  his example about Class instance variables. My doubt is how  just using a symbol becomes thread safe that block of code. Please let me know your thoughts.
Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.