Sha256: c9aee96b6312dd9825122e74f07d889beeb3b3c1005cc5e65d51062045d0a063
Contents?: true
Size: 161 Bytes
Versions: 2
Compression:
Stored size: 161 Bytes
Contents
class ProductTranslation < ActiveRecord::Base belongs_to :product validates_presence_of :locale validates_uniqueness_of :product_id, scope: :locale end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
translatable_records-4.0.0.1 | test/dummy/app/models/product_translation.rb |
translatable_records-4.0.0.0 | test/dummy/app/models/product_translation.rb |