Rails3进阶之一:学习资源列表

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 %>
陆续添加...

你可能感兴趣的:(.net,git,Ruby,sun,Rails)