Fixes the 'DEPRECATION WARNING: superclass_delegating_accessor is deprec...

...ated and will be removed from Rails 5.0 (use class_attribute instead).' warning