Jawaban:
#new_record?
tidak hanya itu:
object.new_record?
Siklus hidup objek ActiveRecord:
1. catatan baru
item = Item.new
item.new_record? #=> true
2. bertahan
item.save
item.persisted? #=> true
3. diubah
item.name = "other"
item.changed? #=> true
4. hancur
item.destroy
item.destroyed? #=> true