调试+运行

 

在controller里加入binding.pry, then turn to the server terminal

rails runner script/aaa.rb

posted @ 2014-06-16 20:53  冰凌花花~  阅读(111)  评论(0)    收藏  举报