Class: AttachableAsset
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AttachableAsset
- Defined in:
- app/models/attachable_asset.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#attachable_type=(s_type) ⇒ Object
8 9 10 |
# File 'app/models/attachable_asset.rb', line 8 def attachable_type=(s_type) super(s_type.to_s.classify.constantize.class.to_s) end |