Recent searches


No recent searches

Simon Bettison's Avatar

Simon Bettison

Joined Oct 22, 2021

·

Last activity Oct 22, 2021

Following

0

Followers

0

Total activity

2

Votes

0

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Simon Bettison

Simon Bettison commented,

Community comment 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*

View comment · Posted Dec 16, 2020 · Simon Bettison

0

Followers

2

Votes

0

Comments