Skip to content

Add RJS, Prototype, and Scriptaculous helpers to Rails 3.1+ apps

License

Notifications You must be signed in to change notification settings

intellum/prototype-rails

This branch is 15 commits ahead of, 5 commits behind killion/prototype-rails:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9852884 · Feb 6, 2020

History

66 Commits
Dec 4, 2019
Jan 21, 2015
Apr 30, 2011
Apr 7, 2011
Feb 6, 2020
Aug 16, 2013
Feb 6, 2020
Aug 16, 2013
Sep 2, 2014
Jan 27, 2014
Feb 6, 2020

Repository files navigation

prototype-rails provides Prototype, Scriptaculous, and RJS on Rails 3.1 and later.

Prototype and Scriptaculous are pulled in by the asset pipeline, so you don't need to copy the source files into your app. You may reference them in your s app/assets/javascripts/application.js:

//= require prototype
//= require prototype_ujs
//= require effects
//= require dragdrop
//= require controls

prototype-rails supports RJS debugging. RJS responses are wrapped to catch exceptions, alert() them, and re-raise the exception. Debugging is disabled by default. To enable in development, set config.action_view.debug_rjs = true in config/environments/development.rb.


Support for Rails 4.1 and above

Unfortunately, due to limited manpower and resources, the Rails core team has not been able to confirm if this gem currently works with Rails 4.1 and above. If you have found any problems while upgrading your application, please report them at the issue tracker, or better yet, submit patches by sending a pull request.

In any case, this gem will NOT be officially supported on Rails 5.0 and above.

About

Add RJS, Prototype, and Scriptaculous helpers to Rails 3.1+ apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%