This gem provides alertify.js (v0.3.11) for Rails.
In your Gemfile:
gem 'alertify-rails'or system wide:
$ gem install alertify-railsThe alertify files will be added to the asset pipeline and available for you to use. Add the following line to app/assets/javascripts/application.js
//= require alertifyIn order to get the CSS, add the following line to app/assets/stylesheets/application.css.scss
/*
*= require alertify
*/In your application.html.erb
<%=alertify_flash%>- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Copyright © 2012 Rudolf Schmidt, released under the MIT license