Class#superclass_delegating_accessor from Rails is now deprecated.
Switch to Class#class_attribute instead.
See https://github.com/rails/rails/pull/14271
Merge pull request #1418 from lulalala/use_class_attribute

Class#superclass_delegating_accessor from Rails is now deprecated.