NoMethodError (nil:NilClass に対する未定義のメソッド `keys')

Searching gives you this as the second result (top result before you made your post)

「いいね!」 2