Skip to content

Commit

Permalink
Incompatible API change fix, see rails/rails#34550
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-at committed Jan 13, 2019
1 parent c63badd commit cf855b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_storage/service/database_service.rb
Expand Up @@ -12,7 +12,7 @@ class Service::DatabaseService < Service
def initialize(**args)
end

def upload(key, io, checksum: nil)
def upload(key, io, checksum: nil, **)
instrument :upload, key: key, checksum: checksum do
::ActiveStorageDatum.create!(key: key, io: io.read)
end
Expand Down

0 comments on commit cf855b5

Please sign in to comment.