
Emiliano López
Joined
20 Experience
0 Lessons Completed
0 Questions Solved
Activity
I found a solution. The old domain is embeded in RichText body, so it must be replaced by the new one, running this from rails console:
ActionText::RichText.where("body like '%https://olddomain%'").each do |t| t.update body: t.body.gsub('https://oldomain', 'https://newdomain.com') end
I'm having the same problem. @AndrewBroad, did you find a solution?