I'm using friendly_id 4.0.0.beta8 and like to generate URLs that make use of slug, but still contain the model id. It seems like friendly_id generates slugs before_validation. However, at this time (before save) there is of course no model id available and so friendly_id creates slugs without id.
How can I make sure, that new records will have slugs with id after initial save?