module Shrine::Plugins::Persistence::AttacherMethods
Public Instance Methods
Source
# File lib/shrine/plugins/_persistence.rb 67 def atomic_persist(*) 68 raise NotImplementedError, "unhandled by a persistence plugin" 69 end
Source
# File lib/shrine/plugins/_persistence.rb 63 def atomic_promote(*) 64 raise NotImplementedError, "unhandled by a persistence plugin" 65 end
Source
# File lib/shrine/plugins/_persistence.rb 71 def persist(*) 72 raise NotImplementedError, "unhandled by a persistence plugin" 73 end
Source
# File lib/shrine/plugins/_persistence.rb 77 def set_entity(*) 78 super 79 @column_serializer = nil if hash_attribute? 80 end
Disable attachment data serialization for data attributes that accept and return hashes.
Calls superclass method