module Tapioca::Dsl::Compilers::Extensions::ActiveRecord
def delegated_type(role, types:, **options)
def delegated_type(role, types:, **options) @__tapioca_delegated_types ||= {} @__tapioca_delegated_types[role] = { types: types, options: options } super end
def has_secure_token(attribute = :token, **)
def has_secure_token(attribute = :token, **) @__tapioca_secure_tokens ||= [] @__tapioca_secure_tokens << attribute super end
def store_accessor(store_attribute, *keys, prefix: nil, suffix: nil)
def store_accessor(store_attribute, *keys, prefix: nil, suffix: nil) @__tapioca_stored_attributes ||= [] @__tapioca_stored_attributes << [store_attribute, keys, prefix, suffix] super end