Permalink
Browse files

Add note about overriding filenames to generator

  • Loading branch information...
trevorturk committed Mar 24, 2011
1 parent 4247285 commit 951bf30e112ab0789f7afce6c5d3b5cbd42f814e
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/generators/templates/uploader.rb
@@ -40,6 +40,7 @@ def store_dir
# end
# Override the filename of the uploaded files:
+ # Avoid using model.id or version_name here, see uploader/store.rb for details.
# def filename
# "something.jpg" if original_filename
# end

0 comments on commit 951bf30

Please sign in to comment.