markevans / dragonfly-s3_data_store

S3 data store for the Dragonfly ruby gem
MIT License
62 stars 58 forks source link

Documentation error? #19

Closed jfeltesse closed 9 years ago

jfeltesse commented 9 years ago

Hi,

Maybe I'm missing something but according to the documentation the file path can be set like so:

Dragonfly.app.store(some_file, path: 'some/path.txt')

but here I would always get the autogenerated path unless I did

Dragonfly.app.store(some_file, {}, path: 'some/path.txt')

Looks like the parent gem's store method has 2 distinct hashes, the latter one being passed down to here. Am I understanding it all wrong or is the doc simply outdated?

markevans commented 9 years ago

no you're absolutely right - corrected now. Thanks!