Sha256: acab1bd917dd3f8e541522a5c0bcc6420bb3cb5fc6e6324919ffeb7c0d7e6928
Contents?: true
Size: 339 Bytes
Versions: 8
Compression:
Stored size: 339 Bytes
Contents
module Landable module Traffic module TableName extend ActiveSupport::Concern included do model_name = self.model_name.element.pluralize schema_name = "#{Landable.configuration.database_schema_prefix}landable_traffic" self.table_name = "#{schema_name}.#{model_name}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems