Module: ActiveAttr::BasicModel

Extended by:
ActiveModel::Naming, ActiveSupport::Concern
Includes:
ActiveModel::Conversion, ActiveModel::Validations
Included in:
Model
Defined in:
lib/active_attr/basic_model.rb

Overview

Provides the minimum functionality to pass the ActiveModel lint tests

Examples:

Usage

class Person
  include ActiveAttr::BasicModel
end

Since:

  • 0.2.0

Instance Method Summary collapse

Instance Method Details

#persisted?false

Returns:

  • (false)

Since:

  • 0.2.0



21
22
23
# File 'lib/active_attr/basic_model.rb', line 21

def persisted?
  false
end