More than 5 years have passed since last update.
こんなんあるらしい。
@item.persisted?
シンプルで便利なのでメモ
Register as a new user and use Qiita more conveniently