Sha256: 5d147eecd5162512b94aedcbc4c75ff58e354077d7c72c65acfc37e4f8b53846
Contents?: true
Size: 759 Bytes
Versions: 30
Compression:
Stored size: 759 Bytes
Contents
module Mobility module Backends =begin Stores translations for multiple attributes on a single shared Postgres jsonb column (called a "container"). ==Backend Options ===+column_name+ Name of the column for the translations container (where translations are stored). @see Mobility::Backends::ActiveRecord::Container @see Mobility::Backends::Sequel::Container @see https://www.postgresql.org/docs/current/static/datatype-json.html PostgreSQL Documentation for JSON Types =end module Container def self.included(backend_class) backend_class.extend ClassMethods backend_class.option_reader :column_name end module ClassMethods def valid_keys [:column_name] end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems