在controller里加入binding.pry, then turn to the server terminal
rails runner script/aaa.rb
本文共 140 字,大约阅读时间需要 1 分钟。
在controller里加入binding.pry, then turn to the server terminal
rails runner script/aaa.rb
转载于:https://www.cnblogs.com/iwangzheng/p/3791641.html