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!

On 25 September 2013 09:41, Arsen P. [email protected]
wrote:

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

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

On 25 September 2013 10:09, Arsen P. [email protected]
wrote:

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

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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs