Module: Blueprints::Extensions::Saveable
- Includes:
- Blueprintable, Extendable
- Included in:
- DynamicSaveable
- Defined in:
- lib/blueprints/extensions.rb
Overview
Include this instead of Blueprints::Extensions::Blueprintable if record needs to persist, includes Blueprints::Extensions::Blueprintable
Instance Method Summary collapse
-
#blueprint(attributes) ⇒ Object
Overrides object.blueprint to also call save!.
Methods included from Extendable
Instance Method Details
#blueprint(attributes) ⇒ Object
Overrides object.blueprint to also call save!
81 82 83 84 |
# File 'lib/blueprints/extensions.rb', line 81 def blueprint(attributes) super(attributes) save! end |