2
Hello! In my users table I have a field of downloads
.
I would like when the user enters the page I add +1 in this field of the user.
What is the best way to do this? Do I really need to make 2 querys? take the current value and then add another, or there is a way to simply add a value to that already existing value?
How did you do the authentication part with the user? With Devise? Why in this case it only loads the User object once and then keeps in cache.
– user7261
yes, with the
– Igor Martins