prototype-rails

4.0.1last stable release 10 years ago
Complexity Score
Low
Open Issues
15
Dependent Projects
2
Weekly Downloadsglobal
2,345

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

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.

Dependencies

CVE IssuesActive
0
Scorecards Score
No Data
Test Coverage
No Data
Follows Semver
No
Github Stars
55
Dependenciestotal
2
DependenciesOutdated
1
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute prototype-rails in your own private RubyGems registry

gem install prototype-rails
Processing...
Done

10 Releases

RubyGems on Cloudsmith

Getting started with RubyGems on Cloudsmith is fast and easy.