Module: ModelX::Mixin

Extended by:
ActiveSupport::Concern
Includes:
ActiveModel::Naming, ActiveModel::Serialization, ActiveModel::Serializers::JSON, ActiveModel::Translation, ActiveModel::Validations, ActiveModel::Validations::Callbacks, Associations, Attributes, Boolean, Percentage
Included in:
Base
Defined in:
lib/model_x/mixin.rb

Instance Method Summary collapse

Methods included from Boolean

convert

Methods included from Attributes

#[], #assign_attributes, #attributes, #attributes=

Instance Method Details

#persisted?Boolean

Returns:



20
# File 'lib/model_x/mixin.rb', line 20

def persisted?() false end

#to_keyObject



21
# File 'lib/model_x/mixin.rb', line 21

def to_key() false end