2018-07-26 Rails で redirect_to :back したら undefined method と怒られたとき プログラミング -> Ruby on Rails 結論 Rails 5 の場合は redirect_back を使う。 答え