# Moving from a single-user application to multiple users

**URL:** <https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597>\
**Category:** Rails\
**Created:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597 "2005-11-12T12:49:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![talltim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9f8e36/32.png) [@talltim](https://www.ruby-forum.com/u/talltim)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597/1 "2005-11-12T12:49:35Z")

</div>

Hi all,

I’ve started learning Rails and have hacked my way through the various  
tutorials. Having become reasonably confident I’ve started making my  
first app, a web-based fundraising program. It’s a very simple  
contacts and transactions database.  
I’ve had a bit of a hunt around and haven’t been able to turn anything  
up about how I can take my application as it stands now and make it  
suitable for multiple users. Do I create a new database for each new  
user? How do I make the app find that new database?

Anyway, lots of naive questions. Is there an online tutorial which  
would explain this to me?

Thanks,

Tim

---

<div class="post-metadata">

**Author:** ![talltim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9f8e36/32.png) [@talltim](https://www.ruby-forum.com/u/talltim)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597/2 "2005-11-12T12:49:35Z")

</div>

Tim Vaughan wrote:

> 

Multiple users they way gmail has multiple users? or as a product that  
can be installed on a machine and support multiple clients?

1. is your standard user table stuff, access controls perhaps

2. there is productize detailed on the wiki, duane did it… its pretty  
good.

[http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator](http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator)

---

<div class="post-metadata">

**Author:** ![talltim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9f8e36/32.png) [@talltim](https://www.ruby-forum.com/u/talltim)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597/3 "2005-11-12T12:49:35Z")

</div>

> Multiple users they way gmail has multiple users? or as a product that  
> can be installed on a machine and support multiple clients?

I meant multiple users the way gmail has multiple users, so one user  
would log in and be unable to access the data of another user. Your  
link is really helpful, thanks.

Tim

---

<div class="post-metadata">

**Author:** ![talltim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9f8e36/32.png) [@talltim](https://www.ruby-forum.com/u/talltim)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/moving-from-a-single-user-application-to-multiple-users/47597/4 "2005-11-12T12:49:36Z")

</div>

Tim Vaughan wrote:

> 

Look at the Salted Hashed Generator or similiar.
