toastr for Rails.
Add this line to your application's Gemfile:
gem 'toastr-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install toastr-rails
In your application.scss
you will need to add this line:
@import toastr
If you want to use the utility javascript function, you will need to add this line in your application.js
:
//= require toastr
Bug reports and pull requests are welcome on GitHub at https://github.com/inventit/toastr-rails.
The gem is available as open source under the terms of the MIT License.