Module: ActiveInteraction::ActiveModelable
- Extended by:
- ActiveModel::Naming, ActiveSupport::Concern
- Includes:
- ActiveModel::Conversion, ActiveModel::Validations
- Included in:
- Base
- Defined in:
- lib/active_interaction/concerns/active_modelable.rb
Overview
Implement the minimal ActiveModel interface.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#i18n_scope ⇒ Symbol
19 20 21 |
# File 'lib/active_interaction/concerns/active_modelable.rb', line 19 def i18n_scope self.class.i18n_scope end |
#new_record? ⇒ Boolean
26 27 28 |
# File 'lib/active_interaction/concerns/active_modelable.rb', line 26 def new_record? true end |
#persisted? ⇒ Boolean
33 34 35 |
# File 'lib/active_interaction/concerns/active_modelable.rb', line 33 def persisted? false end |