Commit 8c0166f2 authored by Jan Provaznik's avatar Jan Provaznik

Fixed typo

parent 32e22468
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# hook. This hook fetches upload location (local vs remote) from # hook. This hook fetches upload location (local vs remote) from
# Upload model. So it's neccessary to make sure that during that # Upload model. So it's neccessary to make sure that during that
# after_commit hook model's associated uploads are not deleted yet. # after_commit hook model's associated uploads are not deleted yet.
# IOW we can not use denepdent => :destroy : # IOW we can not use dependent: :destroy :
# has_many :uploads, as: :model, dependent: :destroy # has_many :uploads, as: :model, dependent: :destroy
# #
# And because not-mounted uploads require presence of upload's # And because not-mounted uploads require presence of upload's
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment