On Mon, Nov 19, 2012 at 2:59 PM, jmcguckin <mcguc...@gmail.com> wrote:

> In general, is there a potential database consistancy problem with multiple
> Rails web users.

There's a potential consistency problem with *any* web application,
not so much on create (the DB should make sure created record ids
are unique) but with updating/deleting.

How you deal with that depends on your application. You might only
allow people to edit records they created. Or you might add a "lock"
to the controller's edit method to serialize access to a record.

It just depends on your requirements.

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to