我将不胜感激,如果您能提供一种方法(Rake 任务或命令行数据库查询均可)来批量更新主题和消息,将其从一个用户重新分配给另一个用户。在我的社区中,这种情况经常发生,因为工作人员来来去去,但我们仍需要跟进。目前,有一位用户有近 100 个已分配的主题需要移交给其他人。
I don’t have an instance where I have assigned stuff to figure it out. If you’re desperate and have a budget, I can help.
I don’t have a budget, sadly. Thanks for the offer, though! I think I will just work my way through this list.
This situation comes up periodically and I am always wishing there were a quick fix, but at the end of the day it typically is better anyway to just buckle down and take a few hours to look at the tickets and close them or reassign them to somebody else.
### Change post ownership
rake users:change_post_ownership["old","new"]
rake users:change_post_ownership["old","new",private]
thanks @omarfilip! Do those rake tasks change author of post or change who it is assigned to?
Oh, I may have misunderstood the question. The one above is for post author, not assignment. 