Sha256: 77aa7f00daf9b9681e94721f735f87c3201ddb5613e4f48d9a4e12994494363b
Contents?: true
Size: 270 Bytes
Versions: 7
Compression:
Stored size: 270 Bytes
Contents
module RailsSettings class ScopedSettings < Settings def self.for_thing(object) @object = object self end def self.thing_scoped Settings.scoped_by_thing_type_and_thing_id(@object.class.base_class.to_s, @object.id) end end end
Version data entries
7 entries across 7 versions & 2 rubygems