f.error_messages in Rails 3.0

前端 未结 6 1018
难免孤独
难免孤独 2020-11-29 00:04

Rails 3.0 deprecated f.error_messages and now requires a plugin to work correctly - I however want to learn how to display error messages the (new) native way.

6条回答
  •  鱼传尺愫
    2020-11-29 00:23

    I just looked into the docrails github issues, and they've decided to remove f.error_messages instead of explaining how to do validation for comments.

提交回复
热议问题