Moderation in RoR app

Hello all! I'm new to RoR, so sorry if it's too easy.

I am making an app, where users can create posts. I have admin and user roles. Now I need to make moderation of posts that user created. How to make admin to accept or deny the post before it is published? Maybe you know some tutorials? Thanks!

Start by working right through a good tutorial such as railstutorial.org, which is free to use online. Also look through the Rails Guides.

Colin

Start by working right through a good tutorial such as railstutorial.org, which is free to use online. Also look through the Rails Guides.

Colin

I followed this tuto, but I didn't find any moderation of microposters in his tutorial..

OK, first you will need users of different types - admin and normal, did the tutorial show you how to do that? It is a long time since I last looked in detail at it. Then you will need to add a field to the post to remember whether it is waiting moderation, then you will need to provide pages for the admin to authorise the post, then change the normal pages so they only show accepted pages. So basically divide the problem up into pieces and tackle them one at a time.

Colin