forked from talentnest/prototype-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Add RJS, Prototype, and Scriptaculous helpers to Rails 3.1+ apps
License
sermo/prototype-rails
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
We've included this patched version of prototype-rails in order to remove the following deprecation warning: DEPRECATION WARNING: ActiveSupport::JSON::Variable is deprecated and will be removed in Rails 4.0. For your own custom JSON literals, define #as_json and #encode_json yourself. This version replaces ActiveSupport::JSON::Variable with ActiveSupport::JSON::Literal. See rails#15 ============ prototype-rails provides Prototype, Scriptaculous, and RJS for Rails 3.1. Prototype and Scriptaculous are provided via the asset pipeline and you do *not* need to copy their files into your application. Rails will get them from prototype-rails automatically. You may want to add them to your app/assets/javascripts/application.js: //= require prototype //= require prototype_ujs //= require effects //= require dragdrop //= require controls New applications using this may also want to add config.action_view.debug_rjs = true to their config/environments/development.rb.
About
Add RJS, Prototype, and Scriptaculous helpers to Rails 3.1+ apps
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%