In my app, I want to create a new record if it doesn't exist, and update
some fields if it does.
Looking at the debug log, and it appears that I'm doing something that's
causing an extra SELECT. The basic synopsis:
sta = Station.find_by_station_id(station_id)
sta.p1 = "white port"
sta.p2 = "lemon juice"
The Station.create() isn't a problem. But if it takes the 'else'
clause, the SQL trace looks suspicious. (Hand edited for clarity...):