search for: tagpairs

Displaying 1 result from an estimated 1 matches for "tagpairs".

Did you mean: ggpairs
2006 Jul 18
0
non-optimal sql
I was noticing that to update a has_many association, Rails uses the following: begin delete from tagpairs where id = 33; delete from tagpairs where id = 34; delete from tagpairs where id = 35; ... insert into tagpairs (...) values (...); insert into tagpairs (...) values (...); ... commit This would be better as: delete from tagpairs where obj_type = ''guidepage...