Source code for http://lorefnon.me/rails/2014/07/13/presenting-sql-views-through-active-admin.html