You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: attributes.rb
    path of file: ./repos/activeadmin/lib/active_admin/resource
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
module ActiveAdmin

  class Resource
    module Attributes

      def default_attributes
        
    
      def default_attributes
        resource_class.columns.each_with_object({}) do |c, attrs|
          unless reject_col?(c)
            name = c.name.to_sym
            attrs[name] = (method_for_column(name) || name)
          end
        end