Sha256: 41167d0bb314e9605cd4554b4a518568e01e5eaadbc8de85f28947633ed1b82e

Contents?: true

Size: 289 Bytes

Versions: 19

Compression:

Stored size: 289 Bytes

Contents

module Mobility
  module ActiveRecord
=begin

Subclassed dynamically to generate translation class in
{Backend::ActiveRecord::Table} backend.

=end
    class ModelTranslation < ::ActiveRecord::Base
      self.abstract_class = true
      validates :locale, presence: true
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mobility-0.1.20 lib/mobility/active_record/model_translation.rb
mobility-0.1.19 lib/mobility/active_record/model_translation.rb
mobility-0.1.18 lib/mobility/active_record/model_translation.rb
mobility-0.1.17 lib/mobility/active_record/model_translation.rb
mobility-0.1.16 lib/mobility/active_record/model_translation.rb
mobility-0.1.15 lib/mobility/active_record/model_translation.rb
mobility-0.1.14 lib/mobility/active_record/model_translation.rb
mobility-0.1.13 lib/mobility/active_record/model_translation.rb
mobility-0.1.12 lib/mobility/active_record/model_translation.rb
mobility-0.1.11 lib/mobility/active_record/model_translation.rb
mobility-0.1.10 lib/mobility/active_record/model_translation.rb
mobility-0.1.7 lib/mobility/active_record/model_translation.rb
mobility-0.1.6 lib/mobility/active_record/model_translation.rb
mobility-0.1.5 lib/mobility/active_record/model_translation.rb
mobility-0.1.4 lib/mobility/active_record/model_translation.rb
mobility-0.1.3 lib/mobility/active_record/model_translation.rb
mobility-0.1.2 lib/mobility/active_record/model_translation.rb
mobility-0.1.1 lib/mobility/active_record/model_translation.rb
mobility-0.1.0 lib/mobility/active_record/model_translation.rb