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: acts_as_hypertable.rb
    path of file: ./repos/timescaledb/lib/timescaledb
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Timescaledb
  # If you want your model to hook into its underlying hypertable
  # as well as have access to TimescaleDB specific data, methods, and more,
  # specify this macro in your model.
  #
  # @note Your model's table needs to have already been
    
    def acts_as_hypertable(options = {})
      return if acts_as_hypertable?

      include Timescaledb::ActsAsHypertable::Core

      class_attribute :hypertable_options, instance_writer: false

      self.hypertable_options = DEFAULT_OPTIONS.dup
      hypertable_options.merge!(options)
      normalize_hypertable_options

      define_association_scopes
      define_default_scopes
    end