モデルの編集中に起きたエラーです。
新しくpost_commentというモデルを作成し、user.rbにhas_manyの定義を加えたところ…
/var/lib/gems/2.3.0/gems/activerecord-5.1.5/lib/active_record/associations/builder/association.rb:54:in build_scope': undefined method
arity' for :post_comments:Symbol (NoMethodError)
定義をコメントアウトし、さらにrails sすると…
Migration Pending Error
単にマイグレーションのし忘れで、新しく書いたモデルを読み取ってもらえなかったようです。。