Flowdock
method

persisted?

Importance_1
Ruby on Rails latest stable (v4.1.8) - 1 note - Class: ActiveRecord::Persistence
persisted?() public

Returns true if the record is persisted, i.e. it’s not a new record and it was not destroyed, otherwise returns false.

Show source
Register or log in to add new notes.
November 14, 2014
0 thanks

Opposite of #new_record?

So that next time I look I find it.