EmailTemplate.where("locale = 'de'").each do |et|
body = et.body
File.open("templates/#{et.slug}.html", 'w+') {|f| f.write(body) }
end
Git revert commit_id -m 1 this command willl revert last commit Git revert commit_id -m 2 this command will revert second commit with same...
No comments:
Post a Comment