Gem Friendly_id avec plusieurs colonnes S
class Post < ActiveRecord::Base
extend FriendlyId
friendly_id :slug_candidates, use: :slugged
def slug_candidates
[
[:created_at, :Title],
]
end
end
Delightful Dolphin