From 9af9600f72344180aa16d71ca1bdf53b1ce4f8ef Mon Sep 17 00:00:00 2001 From: Mike Slemmer Date: Thu, 15 Aug 2013 00:07:12 -0700 Subject: [PATCH] use timestamp instead of created_at --- app/admin/crash_dumps.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/crash_dumps.rb b/app/admin/crash_dumps.rb index 4c48fbbd7..e21edcfb3 100644 --- a/app/admin/crash_dumps.rb +++ b/app/admin/crash_dumps.rb @@ -1,12 +1,12 @@ ActiveAdmin.register JamRuby::CrashDump, :as => 'Crash Dump' do # Note: a lame thing is it's not obvious how to make it search on email instead of user_id. - filter :created_at + filter :timestamp filter :user_email, :as => :string filter :client_id index do column "Timestamp" do |post| - post.created_at.strftime('%b %d %Y, %H:%M') + post.timestamp.strftime('%b %d %Y, %H:%M') end column "Client Type", :client_type column "Dump URL" do |post|