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
Sean T Allen
2005-Nov-09 22:47 UTC
Re: Moving from a single-user application to multiple users
Tim Vaughan wrote:>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? > > > >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 _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Tim Vaughan
2005-Nov-09 23:06 UTC
Re: Moving from a single-user application to multiple users
> 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> 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 > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >
Sean T Allen
2005-Nov-09 23:33 UTC
Re: Moving from a single-user application to multiple users
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? >> >> > >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. > > >Look at the Salted Hashed Generator or similiar. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails