Oddbean new post about | logout
 So the Rails upsert_all method doesn't let you specify a WHERE clause which can mean doing lots of unnecessary updates of existing data.

Worked around that with some custom SQL but seems like a limitation in the current code. 

Anyone else seen this/worked around it?

#ruby #rubyonrails