How to replace a string/character in topic title?

None of this makes sense on many level.

You are searching for all titles with a SPACE and then doing a bunch of substitution on -

@zogstrip suggestion was the correct efficient way of doing this.

Anyway I feel this has run it’s course and any more discussion here is just adding confusion to this topic.

@thaidb you need to run rails c as outlined a few topics up.