エラー: PG::UndefinedColumn。カスタムフィールドが列を作成していません

ありがとうございます、そういう状況だったのですね。もしかすると、そのモデルとの結合(join)が必要になるかもしれません(Railsの知識を少し思い出さないと)。以下のようなコードを試してみたのですが:

Topic.joins(:topic_custom_field).where(fun_level: 'super-duper-fun') }

エラーが発生しました:ActiveRecord::ConfigurationError (Can't join 'Topic' to association named 'topic_custom_field'; perhaps you misspelled it?)

正しい構文についてご教示いただけませんでしょうか。