Eric Snyder on 24 Jan 2008 11:43:42 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] ActiveRecord: updating a single attribute

  • From: "Eric Snyder" <snyderep@gmail.com>
  • To: talk@phillyonrails.org
  • Subject: Re: [PhillyOnRails] ActiveRecord: updating a single attribute
  • Date: Thu, 24 Jan 2008 14:43:29 -0500
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Z1m9g26XFgkl/SdpWw56CZ38EFXN9YDrY0T0cKUXhgU=; b=jslv5/yUJxluLnuj4McoRvbBhb3Rob7bO3RM5HxDekIesuTS7meGQqO3UVifqr8Q80rlN+ftinW6u037KMOpDBTVjCFAhLprhaiSXxv9TW88ccvaAS8UU8FGEgi3fJju4z69AXhwLI8euWOyFPkcaPeruiGbBgSIYH89PjanH4w=
  • List-archive: <http://lists.phillyonrails.org/pipermail/talk>
  • Reply-to: talk@phillyonrails.org
  • Sender: talk-bounces@phillyonrails.org

I've just started mucking about with Datamapper & merb and came across
this from the DataMapper "Why Datamapper?" page.

"ActiveRecord updates every column in a row during a save whether that
column changed or not. So it performs work it doesn't really need to.
Which is much slower, and is likely to eat data during concurrent
access if you don't go around adding locking support to everything."

Just sharing, I too am perfectly ok with the way ActiveRecord handles updates.



On Jan 24, 2008 2:29 PM, Colin A. Bartlett
<phillyonrails@colinabartlett.com> wrote:
>
>
> On Jan 24, 2008, at 2:22 PM, Aaron Blohowiak wrote:
>
> Remember, when it comes to performance: "it's not a problem, until its a
> problem."
>
> Amen.
>
> I'm an advocate of not nitpicking over performance at first.
> Of course, there's always low hanging fruit that you can take care of out of
> the box.
>
> C
>
>
> Colin A. Bartlett
> Kinetic Web Solutions
> http://blog.kineticweb.com
>
>
>
>
> _______________________________________________
> To unsubscribe or change your settings, visit:
> http://lists.phillyonrails.org/mailman/listinfo/talk
>
>
_______________________________________________
To unsubscribe or change your settings, visit:
http://lists.phillyonrails.org/mailman/listinfo/talk