Module: Granite::Form::Model::Persistence

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/granite/form/model/persistence.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#marked_for_destruction?Boolean

Returns:



29
30
31
# File 'lib/granite/form/model/persistence.rb', line 29

def marked_for_destruction?
  false
end

#persisted?Boolean

Returns:



25
26
27
# File 'lib/granite/form/model/persistence.rb', line 25

def persisted?
  !!@persisted
end