# User profiles and settings setup with restful\_authentication

**URL:** <https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657>\
**Category:** Rails\
**Created:** [July 17, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657 "2007-07-17T16:39:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [July 17, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657/1 "2007-07-17T16:39:31Z")

</div>

I’ve created a simple signup/login for our site using  
restful\_authentication, but I’d like to add some features while  
staying with a REST design and I’m not sure what the best route to  
take is. I’d like:

- public ‘profile’ page and the ability for users to edit their  
profile (i.e: /profiles/rob)
- ‘settings’ page where they can change/update their email/password

restful\_authentication comes with a User model / Users controller that  
stores your name/email/password, so I’m thinking the settings page  
should just be ‘/users/rob;edit’.

I then think for ‘profiles’ it would be good to make it a seperate  
controller/model and associate it with a user\_id. So ‘/profiles/rob’,  
‘/profiles/rob;edit’, and so forth.

Anyone have any thoughts or different ways to do this?

Rob

---

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [July 17, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657/2 "2007-07-17T17:20:37Z")

</div>

On 7/17/07, rob [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> restful\_authentication comes with a User model / Users controller that  
> stores your name/email/password, so I’m thinking the settings page  
> should just be ‘/users/rob;edit’.
> 
> I then think for ‘profiles’ it would be good to make it a seperate  
> controller/model and associate it with a user\_id. So ‘/profiles/rob’,  
> ‘/profiles/rob;edit’, and so forth.
> 
> Anyone have any thoughts or different ways to do this?

users/rob would be fine for public profiles. But, do whatever your app  
needs…

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [July 17, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657/3 "2007-07-17T19:07:51Z")

</div>

the semi-colon form is now deprecated. It’s now been changed to  
/users/rob/edit since it wasn’t compatible on all browsers (I think  
Safari was causing a problem)

Mike

---

<div class="post-metadata">

**Author:** ![rob](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@rob](https://www.ruby-forum.com/u/rob)\
**Post date:** [July 17, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/user-profiles-and-settings-setup-with-restful-authentication/109657/4 "2007-07-17T17:30:54Z")

</div>

rob wrote:

> should just be ‘/users/rob;edit’.

Can someone clue me in about the semi-colon in the above syntax?
