I have created sample job application which contain employers area,
admin area and I am using Mysql database. I have created job post area
or form via scaffold then I created authenticated area for employers
via act_as_authenticated, now I have two users when they login they
can see all posts and they can update or delete.
I want each user see his job posts, and by the way I have users table
which created by act_as_authenticated and jobs tables I have created
manually for job posts. I have added FK called users_id in jobs table
and it pointing to PK ID in users tables. When the employer fill new
job post his ID not add to the database I don’t know why.
Could you please guide me to fix users authentications?
I am reading Agile Web D. with Rails book which good but it
talk about shopping cart, I have not find what I need in other book,
this is why I wrote my post here and looking for your help.