search for: ownedbi

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

Did you mean: ownedby
2005 Mar 02
2
Validation question
Hi all, I have something like this : user has_many lists list has_many items I want to validate that the currently logged-in user is the owner of the list an item is being added to. I can do it in "item/create" by doing something like : class item def create @list = List.new( @params[ "list" ][ "id" ] ) if @session[ "user"