Skip to main content

Using symbols is Thread Safe in Rails ?

Rails • Asked by Pardha

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.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.