1 2 3 4 5 6 7 8 9
module Settings module Extend extend ActiveSupport::Concern def settings ScopedSettings.for_thing(self) end end end