# frozen_string_literal: true

module Alchemy
  class ElementToPage
    def self.table_name
      [Element.table_name, Page.table_name].join('_')
    end
  end
end

# frozen_string_literal: true

module Alchemy
  class ElementToPage
    def self.table_name
      [Alchemy::Element.table_name, Alchemy::Page.table_name].join('_')
    end
  end
end

Use full constant name in ElementToPage join model
Use full constant name in ElementToPage join model

Without the full constant name Rails has problems to load the model. Leads to failures if the messages controller spec runs standalone.
