Recherches récentes
Pas de recherche récente

Simon Bettison
Adhésion le 22 oct. 2021
·
Dernière activité le 22 oct. 2021
Suivis
0
Abonnés
0
Activité totale
2
Votes
0
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Simon Bettison
Simon Bettison a ajouté un commentaire,
Commentaire de la communauté 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*
Afficher le commentaire · Publication le 16 déc. 2020 · Simon Bettison
0
Abonnés
2
Votes
0
Commentaire