오류: PG::UndefinedColumn. 사용자 지정 필드가 컬럼을 생성하지 않음

감사합니다. 무언가 그런 일이 일어나고 있는 건 아닌지 짐작하고 있었거든요. 그래서 아마 해당 모델과 조인(join)을 해야 할 것 같습니다(정말 레일즈를 다시 꺼내야겠네요). 다음과 같은 코드를 시도해 보았는데요:

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?) 라는 오류가 발생합니다.

올바른 문법에 대해 아이디어가 있으신가요?