So here's my question... why does update_attributes run a new SELECT query,
and why is it using all those unnecessary conditions? I was even running
into an issue where sometimes the SELECT query wouldn't find what it was
looking for and therefore the update never happened (which is why I started
digging in the first place. I then tried this:


Isn't that the validates_uniqueness_of query>




--
Cheers

Koz
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to