From 95d46a02f45343d2b982cd0bdf8f19114d323bb5 Mon Sep 17 00:00:00 2001 From: Daniel Bengl Date: Tue, 22 Oct 2024 12:15:35 +0200 Subject: [PATCH] Implement model --- app/models/moirai/translation.rb | 4 ++++ app/models/moirai/translation_model.rb | 5 ----- app/models/moirai/translation_record.rb | 6 ------ 3 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 app/models/moirai/translation.rb delete mode 100644 app/models/moirai/translation_model.rb delete mode 100644 app/models/moirai/translation_record.rb diff --git a/app/models/moirai/translation.rb b/app/models/moirai/translation.rb new file mode 100644 index 0000000..f856557 --- /dev/null +++ b/app/models/moirai/translation.rb @@ -0,0 +1,4 @@ +module Moirai + class Translation < Moirai::ApplicationRecord + end +end diff --git a/app/models/moirai/translation_model.rb b/app/models/moirai/translation_model.rb deleted file mode 100644 index 9679c8f..0000000 --- a/app/models/moirai/translation_model.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Moirai - class ApplicationRecord < ActiveRecord::Base - self.abstract_class = true - end -end diff --git a/app/models/moirai/translation_record.rb b/app/models/moirai/translation_record.rb deleted file mode 100644 index 91acee8..0000000 --- a/app/models/moirai/translation_record.rb +++ /dev/null @@ -1,6 +0,0 @@ -# frozen_string_literal: true - -module Moirai - class TranslationRecord < Moirai::ApplicationRecord - end -end