@user = User.find(params[ :id]) @user.update_attributes(:first_name=>"Reinhart",:last_name=>"Teapoci")
Nice!! Reinhart http://teapoci.blogspot.com --- On Thu, 5/8/08, muhammad nizham <[EMAIL PROTECTED]> wrote: From: muhammad nizham <[EMAIL PROTECTED]> Subject: Re: [id-ruby] Re: [Rails] Masalah dengan 1 form yang menambah row di 2 tabel To: [email protected] Date: Thursday, May 8, 2008, 8:52 PM imho, untuk update: @user = User.find(params[ :id]) @user.first_ name = "Nizham" @user.last_name = "Tanjung" if @user.save ..... ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

