# Holder.js for Rails Provides Holder.js to render image placeholders entirely on the client side. ## Installation Add to your Gemfile: ```ruby gem 'holder_rails' ``` and run: ```sh bundle install ``` ## Usage Add to your JavaScript manifest file: ```js //= require holder ``` You can use `holder_tag` helper in your views: ```ruby holder_tag 100 # => holder_tag '200x300' # => holder_tag '200x300', 'Lorem ipsum' # => holder_tag '200x300', 'Lorem ipsum', 'social' # => holder_tag '500x800', 'Example text', 'gray', :id => 'new', :class => 'special' # => ``` For more information, check out [holder readme](https://github.com/imsky/holder#readme). ## License Released under the BSD 2-clause license. See LICENSE.txt for details.