Note about some code I saw in the demo last night

0 views
Skip to first unread message

honoluluhacker

unread,
Apr 1, 2010, 9:01:46 PM4/1/10
to Aloha.rb

Anthony Eden

unread,
Apr 1, 2010, 9:34:40 PM4/1/10
to alo...@googlegroups.com
You definitely should avoid updating foreign keys directly. Always associate objects, don't associate ids.

I think that's what you're trying to say, right?

-A

On Thu, Apr 1, 2010 at 3:01 PM, honoluluhacker <keng...@gmail.com> wrote:
http://pivotallabs.com/users/kelly/blog/articles/1213-standup-4-1-2010-147-update-attribute-is-almost-never-the-right-thing-to-use-148-


--
To unsubscribe, reply using "remove me" as the subject.



--
GMU/IT d- s: a33 C++(++++)$ UL@ P--- L+(++) !E W+++$ !N o? K? w--- !O M++ V PS+ PE Y PGP t+ !5 X- R tv b++ DI+ D++ G- e++ h---- r+++ y++++**

http://anthony.mp
Reply all
Reply to author
Forward
0 new messages