If I have an object User in rails with attributes first, last, and
password I can do something like this
user = {:first = 'John', :last = 'Doe'} # a dict-like object
user = Users.find_or_create(user)
is there any such convenience method in sqlalchemy?
--
You received this message because you
It looks like the answer to my question is no.
Is there any add-on (Elixer or whatever) which has a shortcut method like
what I'm asking?
I did find that insert_or_update is not the solution.
I also found an appropriate, but longer way to read or create:
page =