aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/3_1_release_notes.textile
diff options
context:
space:
mode:
authorJudeArasu <judearasu@gmail.com>2011-08-06 05:21:27 +0530
committerXavier Noria <fxn@hashref.com>2011-08-13 16:22:32 -0700
commit8320fbb3b01be05d133de445ecf0bbc172225dc5 (patch)
tree20f2377829e0ca8aa8324070a33aeb11fda6ff8a /railties/guides/source/3_1_release_notes.textile
parent31b820eef92e218349a4a7f033868fc387a92e5b (diff)
downloadrails-8320fbb3b01be05d133de445ecf0bbc172225dc5.tar.gz
rails-8320fbb3b01be05d133de445ecf0bbc172225dc5.tar.bz2
rails-8320fbb3b01be05d133de445ecf0bbc172225dc5.zip
prototype switch
Diffstat (limited to 'railties/guides/source/3_1_release_notes.textile')
-rw-r--r--railties/guides/source/3_1_release_notes.textile5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/guides/source/3_1_release_notes.textile b/railties/guides/source/3_1_release_notes.textile
index 7d85d7a600..b1eaca1ef9 100644
--- a/railties/guides/source/3_1_release_notes.textile
+++ b/railties/guides/source/3_1_release_notes.textile
@@ -67,6 +67,10 @@ h4. Default JS library is now jQuery
jQuery is the default JavaScript library that ships with Rails 3.1. But if you use Prototype, it's simple to switch.
+<shell>
+$ ruby /path/to/rails/bin/rails new myapp -j prototype --dev
+</shell>
+
h4. Identity Map
Active Record has an Identity Map in Rails 3.1. An identity map keeps previously instantiated records and returns the object associated with the record if accessed again. The identity map is created on a per-request basis and is flushed at request completion.
@@ -417,3 +421,4 @@ h3. Credits
See the "full list of contributors to Rails":http://contributors.rubyonrails.org/ for the many people who spent many hours making Rails, the stable and robust framework it is. Kudos to all of them.
Rails 3.1 Release Notes were compiled by "Vijay Dev":https://github.com/vijaydev.
+