10 2021 档案

摘要:在appliction_helper 里设置 一个方法 def is_active?(controller_n, action_n) is_act = false is_index= false #除了new action 其它的action 都让index 菜单active is_index || 阅读全文
posted @ 2021-10-09 17:25 Amatutu 阅读(57) 评论(0) 推荐(0)
摘要:在终端运行 lsof -wni tcp:3000 查看在端口3000上运行的程序的pid出现 运行 kill -9 pid 我的pid是25702 我运行的是 kill -9 25702 再运行rails server 阅读全文
posted @ 2021-10-03 17:29 Amatutu 阅读(41) 评论(0) 推荐(0)