so rails has added another race-condition-having insert API to replace its existing race-condition-having insert API further material for the article I'm working on about how the type { read() -> T, write(T) } cannot possibly provide consistency
Users are too used to the app holding state, and then telling the DB, expecting consistency. It's hard to undo that and train folks that it woks by giving the DB a change and then asking it for the state of things
-
-
I'm curious what do you think about the Ecto API with change sets? Seems more in line with what you're saying here
-
I don't think that validating user input belongs in an ORM, but in general separating the structure used for updating data makes sense -- I went with a similar design for Diesel.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.