Sha256: ffe71d2805f6fc75e5666fa91b299e5302826fe1ad93a57f94e96282e26a1e70

Contents?: true

Size: 150 Bytes

Versions: 4

Compression:

Stored size: 150 Bytes

Contents

module Slugs
  class Slug < ActiveRecord::Base

    belongs_to :sluggable, polymorphic: true

    validates_presence_of :sluggable, :value

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slugs-4.0.0.3 lib/slugs/slug.rb
slugs-4.0.0.2 lib/slugs/slug.rb
slugs-4.0.0.1 lib/slugs/slug.rb
slugs-4.0.0.0 lib/slugs/slug.rb