Class: Recommendable::Stash

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/recommendable/stash.rb

Instance Method Summary collapse

Instance Method Details

#stashable_type=(sType) ⇒ Object



15
16
17
# File 'app/models/recommendable/stash.rb', line 15

def stashable_type=(sType)
  super sType.to_s.classify.constantize.base_class.to_s
end