```ruby
module PgSearchCommon
  extend ActiveSupport::Concern
  include PgSearch

  module ClassMethods
    def pg_search_common_scope(config = {})
      pg_search_scope :search, default_config.merge(config)
    end

    def default_config
      {
        using: { 
          tsearch: { 
            prefix: true
          }
        }
      }
    end
  end
end
```

Change pg_search config's name to sth less generic
user
```ruby
module PgSearchCommon
  extend ActiveSupport::Concern
  include PgSearch

  module ClassMethods
    def pg_search_common_scope(config = {})
      pg_search_scope :search, pg_search_common_config.merge(config)
    end

    def pg_search_common_config
      {
        using: { 
          tsearch: { 
            prefix: true
          }
        }
      }
    end
  end
end
```
assistant