Różnica szyn w minutach między 2 datetime

created = article.created_at
updated = article.updated_at
minutes = ((updated - created) * 24 * 60).to_i
Lioruby