# Creating a user page

**URL:** <https://www.ruby-forum.com/t/creating-a-user-page/146694>\
**Category:** Rails\
**Created:** [August 24, 2008, 8:41am UTC](https://www.ruby-forum.com/t/creating-a-user-page/146694 "2008-08-24T08:41:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyliong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e9a140/32.png) [@tyliong](https://www.ruby-forum.com/u/tyliong)\
**Post date:** [August 24, 2008, 8:41am UTC](https://www.ruby-forum.com/t/creating-a-user-page/146694/1 "2008-08-24T08:41:19Z")

</div>

Hi,

i need to create a user page that can search and add objects to a cart

Step by step of how app should work:

1. User logins

2. on the side bar there is a search box where i search for objects  
and the objects are displayed on the side after the search is  
complete. then i add them to the cart which is in the main coloum.

#side div # # main div

# search # # cart

# item1 # # item1

# item2 # # item3

```
                     total amt:

```

Problem:

because i am already log into a user page the address on the browser  
is stuck at the /panel/id of the user so when i try to use the side to  
search i get errors as the routing for user is being superseded by the  
side search routing.

error  
Couldn’t find user without an ID

Can rails do a search inside a userpage ? if so please tell me how  
thanks.
