For old posts you can use the rails c console to replace - with \-
rake posts:remap["find","replace"]
but you need to use regex to change only - (followed by an empty space?) and not for example - used in links or in other situations.
For old posts you can use the rails c console to replace - with \-
rake posts:remap["find","replace"]
but you need to use regex to change only - (followed by an empty space?) and not for example - used in links or in other situations.