Class: RecordLoader::TagLayoutTemplatesLoader
- Inherits:
 - 
      ApplicationRecordLoader
      
        
- Object
 - Base
 - ApplicationRecordLoader
 - RecordLoader::TagLayoutTemplatesLoader
 
 
- Defined in:
 - lib/record_loader/tag_layout_templates_loader.rb
 
Overview
Creates the specified tag layout templates if they are not present
Instance Method Summary collapse
Methods inherited from ApplicationRecordLoader
Instance Method Details
#create_or_update!(name, options) ⇒ Object
      13 14 15  | 
    
      # File 'lib/record_loader/tag_layout_templates_loader.rb', line 13 def create_or_update!(name, ) TagLayoutTemplate.create_with().find_or_create_by!(name:) end  |