Module: ActiveAdmin::Reform::ActiveRecord
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_admin/reform/active_record.rb
Overview
Module that prepares the Reform::Form for use in activeadmin
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#save_model ⇒ Object
13 14 15 16 17 |
# File 'lib/active_admin/reform/active_record.rb', line 13 def save_model super.tap do errors.merge!(model.errors, []) end end |