Does the method save return the ID ?
Because i’m doing this :
flash[:notice] = ‘Post was successfully created.’
and I need the ID of the post I just created. I think it could work with
: Post.find(:last) but what if two people are posting at the same time?