Rails 5 adds ability to create module and class level variables on per thread basis

Rails already provides methods for creating class level and module level variables in the form of cattr_* and mattr_* suite of methods.

In Rails 5, we can go a step further and create thread specific class or module level variables.


Rails 5 adds ability to create module and class level variables on per thread basis #ruby #rubydeveloper #rubyonrails #class #thread https://rubyonrails.ba/single/rails-5-adds-ability-to-create-module-and-class-level-variables-on-per-thread-basis

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles