Sweet Alert for Rails
An awesome replacement for JavaScript's alert.
Installation
Add this line to your application's Gemfile:
gem 'sweet-alert'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sweet-alert
Usage
Just like this:
application.js:
//= require sweet-alert
application.css:
/*
*= require sweet-alert
*/