Permalink
Browse files

Check blank when storing in mount

  • Loading branch information...
1 parent 494fc3c commit f57eaea2bd09380e1eb320b03e2040cfd10898f9 @jnicklas jnicklas committed Mar 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/carrierwave/mount.rb
View
@@ -113,7 +113,7 @@ def uploaders
end
def store_uploader!(column)
- if uploaders[column]
+ unless uploaders[column].blank?
uploaders[column].store!
write_uploader(column, uploaders[column].identifier)
end

0 comments on commit f57eaea

Please sign in to comment.