views:

9

answers:

0

Hi,

I am using active scaffold to list my users. The users has many published posts and unpublished posts. I need two links in my users active scaffold table "Published posts" and "unpublished posts". When clicked on Published posts, it should display all the published posts fields under the user record and the same for un published posts.

I used nested to list all the posts for the user in the active scaffold but I am not able to filter the posts records based on the column "publised?" .. how can i do it ?

please help