---
title: "Rails3进阶之一：学习资源列表"
author: "kenrome"
date: "2010-09-05T01:29:03Z"
tags: []
categories: ["编程语言"]
slug: "rails3"
draft: false
lastmod: "2010-09-05T02:31:46Z"
id: 755674
url: "https://inruby.iteye.com/blog/755674"
---

1.在学习bundler之前，先了解一下gem与plugin的区别，不要把所有的东西都当作gem来处理了，否则会遇到许多“can not find file/gem...”
<http://blogs.sun.com/arungupta/entry/totd_6_difference_between_ruby>

2.学习bundler：<http://gembundler.com/>

  Bundler的入门实践：<http://lindsaar.net/2010/2/6/bundle_me_some_rails>

  如果遇到“`':No such file or directory - git clone ”之类的错误，请转到：<http://github.com/plataformatec/devise/issues/issue/299/#comment_388916>看一看是否有帮助。
  
3.在Rails3下使用restful_authentication插件，请参看<http://vinsol.com/blog/2010/04/23/upgrading-restful-authentication-plugin-for-rails-3/>
 如果按照rails2的方法做，会出现这样的错误：
$ rails g authenticated user sessions
Could not find generator authenticated.

4.在Rails3 ActionView中 <%= @post.content %> 表示未转义html（等价于rails2的 <%=h @post.content %>）, 如果希望转义html, 则： <%=raw @post.content %>
陆续添加...