search for: loggedus

Displaying 1 result from an estimated 1 matches for "loggedus".

Did you mean: loggedfs
2006 Feb 02
0
What is best way to show only records belonging to loggeduser?
...nough for me. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Bojan Mihelac Sent: Thursday, February 02, 2006 7:46 AM To: rails@lists.rubyonrails.org Subject: [Rails] What is best way to show only records belonging to loggeduser? Hi all, What is best way to show only records belonging to logged user? I understand that it is better to handle this in model and not controller. I am thinking of intercepting find methods in model and add clause something like "WHERE id_user = #{user_id}". I would like to hear...