
Sekali lagi Perhatian, ini hanya ditujukan kepada Newbie seperti saya, kalo yang sudah jago ya kayanya ga perlu lagi baca
. Juga wajib mengikuti tuorial sebelumnya yaitu
Edit data, setelah beberapa waktu lalu selesai dengan memasukkan data dan menampilkan serta menghapus data, kemudian ada seseorang yg menanyakan tentang cara mengedit data.
Secara algoritma MVC nya, Edit data dilakukan dengan Memanggil fungsi edit pada controller, fungsi ini akan memanggil data yang akan di edit (menggunakan parameter id) melalui Model, kemudian data tersebut ditampilkan kedalam view. Setelah data tersebut di edit, kemudian memanggil fungsi submit pada controller untuk menentukan proses update data yg dilakukan pada model. Kemudian di redirect ke halaman index untuk melihat hasil data yg telah di edit tadi. Secara gambarannya seperti berikut :

So, daripada bingung, langsung saja di praktekkan
Read more…

Well, I am abit ahead of the release date. This tutorial is done on Ubuntu Lucid 10.04 beta and I would not expect there would be major changes in final release that could disrupt any instructions listed here.
Prerequsites
Ubuntu repository contains Ruby 1.9.1 package however this package suffers few bugs that doesn’t run some Gem packages. So I would highly RECOMMEND you to compile for yourself a instance of Ruby 1.9.1 from source. To compile Ruby from source, you need to install compilers and libraries headers.
Read more…

Ruby on Rails
Ruby on Rails is an open source web framework for developing database backed web applications. It is optimized for sustainable productivity of the programmer since it lets the programmer to write code by favouring convention over configuration.
Read more…

It’s both nice and bad when I upgrade to a newer Ubuntu version. The good part is I have lots of posts material for the blog but the bad part is there’s always something on my main computer or netbook which doesn’t work out of the box and needs tweaking.
I really didn’t expect the Fn keys to work out of the box on my Asus EeePC 1005HA (so this method has only been tested for this Asus EeePC model, I don’t know if it works on others) and unfortunately I was right. However, the fix is very quick. Here’s what you have to do.
Read more…