Just in case, do you really need that level of locking?
Perhaps you know it, but in web programming "the last edit wins" is a
meaningful rule that allows you to get rid of these controls. If two
people edit the same form, the last received data is the one that
prevails, it doesn't matter who requested the form first. In
particular it does not matter whether that happened in parallel or
sequentially but just immediately. The data of the first guy will be
overwritten anyway, so in practice often it does not matter.
If it does matter in your use case please just disregard this mail.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment