Pesquisas recentes


Sem pesquisas recentes

Simon Bettison's Avatar

Simon Bettison

Entrou em 22 de out. de 2021

·

Última atividade em 22 de out. de 2021

Seguindo

0

Seguidores

0

Atividade total

2

Votos

0

Assinatura

1

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Simon Bettison

Simon Bettison comentou,

Comentário na comunidade Feedback - Help Center (Guide)
ALTER TABLE articles ADD COLUMN ptr int;

Then add a field on edit article page that lets you point to a different article, and update render code to check it...

def render_article(id)
  article = Article.find(id)
  return render_article(article.ptr) if article.ptr.present?

  //renders article
end

it's a hack, but it buys 8 years of good will back whilst you work on a proper solution?

*shrugs*

Exibir comentário · Publicado 16 de dez. de 2020 · Simon Bettison

0

Seguidores

2

Votos

0

Comentários