Sha256: 4e1c34b65d5ff9f41764965560e191c34815483d6184294d3de26be75659efc1
Contents?: true
Size: 197 Bytes
Versions: 8
Compression:
Stored size: 197 Bytes
Contents
class DynamicSeo < ActiveRecord::Base belongs_to :seoable, polymorphic: true validates_presence_of :seoable_type, :seoable_id validates_uniqueness_of :seoable_id, scope: :seoable_type end
Version data entries
8 entries across 8 versions & 1 rubygems