Sha256: 6e3a6e4cd29c159ff501153ca1f904eb1663179bc93980fe3676aba84c1602eb

Contents?: true

Size: 98 Bytes

Versions: 3

Compression:

Stored size: 98 Bytes

Contents

class Post < ActiveRecord::Base
  def to_param
    self.title.downcase.gsub(/\s+/, "-")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crawlable-0.0.1.8 test/lib/post.rb
crawlable-0.0.1.7 test/lib/post.rb
crawlable-0.0.1.6 test/lib/post.rb