diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-01 00:13:23 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-01 00:13:23 +0200 |
commit | 3959d32aa09206518f4c1ea2cd96fa62be383dcd (patch) | |
tree | ab730e9b0da7e3c1ec1d698605a327f8f700b770 | |
parent | d9adfa881774c31fe10e6ae76840d6abd539f9db (diff) | |
download | rails-3959d32aa09206518f4c1ea2cd96fa62be383dcd.tar.gz rails-3959d32aa09206518f4c1ea2cd96fa62be383dcd.tar.bz2 rails-3959d32aa09206518f4c1ea2cd96fa62be383dcd.zip |
Space to breathe
-rw-r--r-- | lib/active_file/blob.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/active_file/blob.rb b/lib/active_file/blob.rb index 4e73ec4864..817617ecaf 100644 --- a/lib/active_file/blob.rb +++ b/lib/active_file/blob.rb @@ -28,10 +28,12 @@ class ActiveFile::Blob < ActiveRecord::Base end end + def filename Filename.new(filename) end + def delete site.delete(key) end |