ncuesta / dropzonejs-rails

Spice your Rails apps with some Dropzone sugar!
http://rubygems.org/gems/dropzonejs-rails
MIT License
311 stars 56 forks source link

Extended documentation needed #30

Open mishatatinets opened 8 years ago

mishatatinets commented 8 years ago

It would help to see more information of how to use this gem.

ncuesta commented 8 years ago

Hi Misha, could you please elaborate a bit more on what you mean by "more information"? Thanks,

mishatatinets commented 8 years ago

I see that you point to dropzone.js documentation, but it will be more useful to have an example of how to implement it in rails environment. Seem like you have one generator, but there no mentioning about it as well. So if someone come across your gem, they have to figure most of the things with practically no guidelines on how to use your gem.

ncuesta commented 8 years ago

Thanks for the suggestion, I get your point. I'm currently unable to spend the amount of time needed for that improvement, so please feel free to contribute your own examples and I'll happily merge them in!

Cheers

jakehockey10 commented 8 years ago

I plan on using this gem in my project. I can provide a pull-request when I find time soon to provide the additional information being requested.

ncuesta commented 8 years ago

Wow, that'd be great Jake! Thanks a lot! Cheers,

Nahuel Cuesta Luengo On mié, ago 24, 2016 at 19:19, Jake Smith notifications@github.com wrote: I plan on using this gem in my project. I can provide a pull-request when I find time soon to provide the additional information being requested.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub [https://github.com/ncuesta/dropzonejs-rails/issues/30#issuecomment-242226464] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAF1aCBb_7RTv2ZzrekXzgffvWTxMp9xks5qjMOBgaJpZM4GjlJn] .

jakehockey10 commented 8 years ago

Absolutely :)

Can I ask: what would you like to see? I was planning on documenting the steps I take to get a full stack implementation in place for this feature including: what I end up putting in the view, what I end up putting in my controller, and what I put in my model. But I'm afraid of giving more information than is needed.

I guess I can also attempt the pull-request and we can discuss that when the time is right :)

mameier commented 5 years ago

I found a complete example including all mentioned topics (model, controler, view, js) that was posted shortly before this issue was opened: https://medium.com/rails-ember-beyond/ajax-file-upload-in-rails-using-dropzone-and-carrierwave-6f5436fdfdb0