I'm trying to use the friendly_id pearl to create a bullet in the format "# {id} - # {title}"
Friendly_id seems to be using before_save and will not have access to the ID attribute.
Is there any work for this?
# Permalinks #----------------------------------------------------------------------------- extend FriendlyId friendly_id :id_and_title, :use => :slugged def id_and_title "#{id} #{title}" end
source share