No commit activity in last 3 years
No release in over 3 years
Bunch of jquery event handlers for dealing with standard Rails json responses.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.2.5
 Project Readme

JqueryUjsHandlers

A thin wrapper on jquery-ujs library which provides built in ajax handler to handle standard RESTful request such as error reporting, redirecting based on Location header, flash message displaying.

Setup

add gem "jquery_ujs_handlers" to your rails project Gemfile. Include jquery_ujsh into your application.js manifest after jquery and jquery_ujs libraries.

Usage

see test/dummy app for example usage, check defaultOptions in app/assets/javascripts/jquery_ujsh.js file for available options.

ToDo

  • Write tests
  • Write documentation

This project rocks and uses MIT-LICENSE.