Show records created in the last 5 hours (requires squeel and activesupport):
Model.where{created_at > 5.hours.ago}.map(&:name)Show records created in the last 5 hours (requires squeel and activesupport):
Model.where{created_at > 5.hours.ago}.map(&:name)