Flowdock
method

new_record?

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

Returns true if this object hasn’t been saved yet – that is, a record for the object doesn’t exist in the database yet; otherwise, returns false.

Show source
Register or log in to add new notes.
November 14, 2014
1 thank

Opposite of persisted?

So I can find it when I look next time.