Class: Tag2Layout::TemplateSubmission

Inherits:
ApplicationRecord show all
Defined in:
app/models/tag2_layout.rb

Overview

This class provides two benefits 1) We can enforce uniqueness of tag2_layouts/submissions at the database level This helps avoid potential race conditions (Although they won’t be handled especially elegantly) 2) It provides an easy means of looking up used templates

Method Summary

Methods inherited from ApplicationRecord

alias_association, convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Squishify

extended