Ricerche recenti


Nessuna ricerca recente

Simon Bettison's Avatar

Simon Bettison

Data ingresso 22 ott 2021

·

Ultima attività 22 ott 2021

Seguiti

0

Follower

0

Attività totali

2

Voti

0

Abbonamento

1

PANORAMICA ATTIVITÀ

Ultima attività di Simon Bettison

Simon Bettison ha commentato,

Commento nella community 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*

Visualizza commento · Data ultimo post: 16 dic 2020 · Simon Bettison

0

Follower

2

Voti

0

Commenti