Rails 5 adds ability to create module and class level variables on per thread basis
10-Sep-2016 3481
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 #Rails #5 #adds #ability #to #create #module #and #class #level #variables #on #per #thread #basis #class #thread https://rubyonrails.ba/link/rails-5-adds-ability-to-create-module-and-class-level-variables-on-per-thread-basis