module Motor::ActiveRecordUtils::ActiveStorageBlobPatch
Constants
- KEYWORD_ARGS
Public Instance Methods
build_after_unfurling(hash)
click to toggle source
Calls superclass method
# File lib/motor/active_record_utils/active_storage_blob_patch.rb, line 13 def build_after_unfurling(hash) super(**hash.with_indifferent_access.slice(*KEYWORD_ARGS).symbolize_keys) end
build_after_upload(hash)
click to toggle source
Calls superclass method
# File lib/motor/active_record_utils/active_storage_blob_patch.rb, line 9 def build_after_upload(hash) super(**hash.with_indifferent_access.slice(*KEYWORD_ARGS).symbolize_keys) end
create_after_unfurling!(hash)
click to toggle source
Calls superclass method
# File lib/motor/active_record_utils/active_storage_blob_patch.rb, line 21 def create_after_unfurling!(hash) super(**hash.with_indifferent_access.slice(*KEYWORD_ARGS).symbolize_keys) end
create_after_upload!(hash)
click to toggle source
Calls superclass method
# File lib/motor/active_record_utils/active_storage_blob_patch.rb, line 17 def create_after_upload!(hash) super(**hash.with_indifferent_access.slice(*KEYWORD_ARGS).symbolize_keys) end
create_and_upload!(hash)
click to toggle source
Calls superclass method
# File lib/motor/active_record_utils/active_storage_blob_patch.rb, line 25 def create_and_upload!(hash) super(**hash.with_indifferent_access.slice(*KEYWORD_ARGS).symbolize_keys) end