摘要: 写这个帖子的缘由是因为在页面参数传到rails的controller时用params[:]和params[""]都可以取到值:[1] pry(#)> params=> {"action"=>"show", "controller"=>"books", "id"=>"382"}[2] pry(#)> ... 阅读全文
posted @ 2014-05-19 18:48 wangyuyu 阅读(4349) 评论(0) 推荐(0) 编辑