Re: [Rails-core] Making touch more efficient

2012-09-28 Thread Spike
Thanks Matt, sorry I missed this reply. Bummer I'm still on 2.3, will have to get moving on the upgrade :D Cheers, Brendon On Friday, June 8, 2012 12:30:02 PM UTC+12, Matt jones wrote: On Jun 7, 2012, at 6:55 PM, Spike wrote: I'm currently working on a Rails 2.3 project but I think the

Re: [Rails-core] Making touch more efficient

2012-06-07 Thread Matt Jones
On Jun 7, 2012, at 6:55 PM, Spike wrote: I'm currently working on a Rails 2.3 project but I think the code hasn't changed much around touching in the latest release so here goes: Touching seems to be less efficient than it could be. Currently it seems to change the updated_at (or other)