Creating Star Resource issue

I was a little confused about the association between the starred_restaurant and starred_by (do I need to create anything for this or should we say @restaurant = starred_restaurant, current_id == starred_by something???).... Also in my action create for Star, I don't know what to include in the parameter and I couldn't add the current_user.id to the user_id to star....Can someone give me some pointers? Thankssss!!!!!!!!!!!!!!