Last id

How to know the id in

@post.save

?

thank for answers…

Nargo