Re: [Rails] Re: Multiple models and views in 'transactions'

2012-11-20 Thread Hassan Schroeder
On Mon, Nov 19, 2012 at 2:59 PM, jmcguckin 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

[Rails] Re: Multiple models and views in 'transactions'

2012-11-19 Thread jmcguckin
I wonder... Is there a possibility that if your database has multiple tables that are related with foreign keys, whilst a user is filling in fields of forms, etc - is it possible for another web user to overwrite records or to create records with the same id that would later get overwritten by t

[Rails] Re: Multiple models and views in 'transactions'

2012-11-19 Thread mongeta 99
Colin Law wrote in post #1085205: > On 19 November 2012 17:23, mongeta 99 wrote: >> is for a very complex ERP. >> >> We don't want to store 'invalid data' in the real tables, like using >> some attribute like 'pending' or 'modifying'. >> >> One solution that I'm experiment with it, and it seems it