AD
Size: a a a
AD
AD
NB
NS
NS
TP
ME
AG
order {}
после union
?w
AG
v
AG
AG
one = table1.select{ [id, string::cast('xxx').as(:body), created_at] }
two = table2.select(:id, :body, :created_at)
one.union(two).order { created_at.desc }
NS
repo.users.union(repo.users).order { |users:| length(users[:name]).desc }
NS
AG
NS
order(:created_at)
сработает, но без порядка. Точно можно это через сиквел сделать