---
title: "ruby消息"
author: "yangbinfc"
date: "2011-05-30T10:23:00Z"
tags: []
slug: "ruby"
draft: false
lastmod: "2012-11-04T17:47:26Z"
id: 1715328
url: "https://yangbinfc.iteye.com/blog/1715328"
---

来自 Rails 官网的消息，Rails 3.1 将默认使用 jQuery 库。 在 Rails 3.1 中使用如下命令创建新应用将直接使用 jQuery 库 rails new my\_app 如果你想用 Prototype 和 Scriptaculous 的话，可以使用 -j 参数来指定，如下所示: rails new my\_app -j prototype