add column_types method to the select_all result for rails 4 compatibility