A gem wrapper for filereader.js (https://github.com/bgrins/filereader.js)
Add this line to your application's Gemfile:
gem 'filereaderjs'
And then execute:
$ bundle
Or install it yourself as:
$ gem install filereaderjs
Add //= require filereader
to application.js
Bug reports and pull requests are welcome on GitHub at https://github.com/bonusly/filereaderjs.
The gem is available as open source under the terms of the MIT License.