Module: Concerns::Model::BaseThing

Extended by:
ActiveSupport::Concern
Included in:
Thing
Defined in:
lib/concerns/model/base_thing.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#listsObject

custom associations



47
# File 'lib/concerns/model/base_thing.rb', line 47

def lists; List.where(thing_type: self.to_s); end