Skip to content

This is a gemified version of Marc Harter's humane-js library.

Notifications You must be signed in to change notification settings

harrigan/humane-rails

Repository files navigation

 _                                                      _ _ 
| |__  _   _ _ __ ___   __ _ _ __   ___       _ __ __ _(_) |___ 
| '_ \| | | | '_ ` _ \ / _` | '_ \ / _ \_____| '__/ _` | | / __|
| | | | |_| | | | | | | (_| | | | |  __/_____| | | (_| | | \__ \
|_| |_|\__,_|_| |_| |_|\__,_|_| |_|\___|     |_|  \__,_|_|_|___/

This is a gemified version of Marc Harter's humane-js library. See http://wavded.github.com/humane-js for more details.

Build Status Code Climate

Instructions

Add the following to your Gemfile:

gem "humane-rails"

the following directive to the top of your application.js:

//= require humane-rails

and one of the following directives to the top of your application.css:

*= require humane-rails/original
*= require humane-rails/libnotify
*= require humane-rails/bigbox
*= require humane-rails/boldlight
*= require humane-rails/jackedup
*= require humane-rails/flatty

Don't forget to run bundle update after updating to the latest version of the gem to ensure that it is used by your Rails application.

The gem also provides a helper for displaying flash messages:

<%=raw humane_flash_messages %>

License

humane-js is licensed under the MIT license: http://github.com/wavded/humane-js

About

This is a gemified version of Marc Harter's humane-js library.

Resources

Stars

Watchers

Forks

Packages

No packages published