it is highly recommeded NOT to use class variables - see http://makandracards.com/makandra/14229-the-many-gotchas-of-ruby-class-variables, also see Russ Olsen - Eloquent Ruby Chapter 14 and ruby style guide https://github.com/bbatsov/ruby-style-guide#no-class-vars
Kalman Hazins
Feb 16, 3:18 PMit is highly recommeded NOT to use class variables - see http://makandracards.com/makandra/14229-the-many-gotchas-of-ruby-class-variables, also see Russ Olsen - Eloquent Ruby Chapter 14 and ruby style guide https://github.com/bbatsov/ruby-style-guide#no-class-vars