Sha256: cb78dad98eb745d9fe5a04f48bb8685fdf16155768d003f3123e146ffa38f591

Contents?: true

Size: 125 Bytes

Versions: 4

Compression:

Stored size: 125 Bytes

Contents

class Post < ActiveRecord::Base
  include Slug
  
  protected
  
  def default_slug
    "#{title.parameterize}"
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slug-engine-0.1.0 test/dummy/app/models/post.rb
slug-engine-0.0.3 test/dummy/app/models/post.rb
slug-engine-0.0.2 test/dummy/app/models/post.rb
slug-engine-0.0.1 test/dummy/app/models/post.rb