Closing a topic in console

This should be what you are looking for:

Edit: I read your post too quickly, you were looking for a rails console option. here’s an example you should be able to build off of:

6 Likes