Modify ActiveRecordBase to support columns, filters, sorting, and limits for all queries