Access denied, Please sign in and make sure you have proper permission.
#1 楼 @loveky 是啊,用 Ruby 2.0 和 Rails 4.0 把 Angile Web Development with Rails, 4th Ed 过了一遍
把 depot 的 code 搬到 rails 4 里有啥问题没
#3 楼 @loveky 基本没问题,有一点小改动,比如:method => :post
变成了method: :post
,test/functional/products_controller_test.rb
变成了test/controllers/products_controller_test.rb
#4 楼 @chinakr 晕 我现在学的 Rails 3 版本,已经提到了 key:value 这种写法。。。
ruby.railstutorial.org
还是我记错了?反正我现在是两种方法混用。。。在 Rails3 和 Ruby1.9.3 下。。。虽然应该统一用一种比较好
我的书还是 Angile Web Development with Rails, 3th Ed,要换了