Flowdock
test_persisted?() public

Passes if the object’s model responds to persisted? and if calling this method returns either true or false. Fails otherwise.

persisted? is used when calculating the URL for an object. If the object is not persisted, a form for that object, for instance, will route to the create action. If it is persisted, a form for the object will route to the update action.

Show source
Register or log in to add new notes.