Rails console commands

You could do something like:

t = Topic.find(123)
t.update(title: Topic.find(124).title)

But that’s more trouble than it’s worth. You can do things in steps:

t1 = Topic.find(123)
t2 = Topic.find(124)
t1.update(title: t2.title)