Re: [id-ruby] resize animation images with rmagick

2007-12-10 Terurut Topik akang aziz
udah di otak-atik itu rmagick pake sgala macam method + option.. tp msh gak jalan klo pake image animatied gif.. akhirnya di model nya saya ganti jadi: def resize_adbanner(a, b) system "convert " + image_path + " -resize " + a.to_s + "x" + b.to_s + "\! " + image_path end wakakakaka.

[id-ruby] Re: SQL Quiz: Deret Points dan ID

2007-12-10 Terurut Topik Arie Kusuma Atmaja
sekedar tips dan trik sedikit, untuk memudahkan pengetesan jadikan contoh data yang sudah saya berikan menjadi fixture untuk dipakai di model spec'ing. baru kasih kabar kalau spec'ing nya sudah 100% hijau alias nggak dapat error merah- merah ya ;-) --- In id-ruby@yahoogroups.com, "Arie Kusuma

[id-ruby] SQL Quiz: Deret Points dan ID

2007-12-10 Terurut Topik Arie Kusuma Atmaja
SQL Quiz: Deret Points dan ID Buatlah 2 fungsi (metode) yang elegan atawa efektif dan efisien dengan Ruby dengan memakai ActiveRecord untuk mendapatkan hasil sesuai ketentuan yang diinginkan (expected output) Ketentuan: Points yang paling besar tampil pertama. Setelah itu diurutkan berdasarkan po

Re: [id-ruby] Updating gems on Leopard - Operation timed out - connect(2)(Errno::ETIMEDOUT)

2007-12-10 Terurut Topik Setyo Widiyanto
coba export proxynya jangan pake tanda petik. works for me. On Dec 11, 2007 11:23 AM, Prayana Galih <[EMAIL PROTECTED]> wrote: > Bung Andry, > > Yang itu malah ngasih error ini: > ERROR: While executing gem ... (NoMethodError) > undefined method `[]=' for # > > >.<;; > > //ga pernah utak-atik

Re: [id-ruby] Updating gems on Leopard - Operation timed out - connect(2)(Errno::ETIMEDOUT)

2007-12-10 Terurut Topik Prayana Galih
Bung Andry, Yang itu malah ngasih error ini: ERROR: While executing gem ... (NoMethodError) undefined method `[]=' for # >.<;; //ga pernah utak-atik rubygems //baru sekarang kena beginian... On Dec 11, 2007 10:43 AM, Andry S Huzain <[EMAIL PROTECTED]> wrote: > > > > On Dec 11, 2007 9:54

Re: [id-ruby] Updating gems on Leopard - Operation timed out - connect(2)(Errno::ETIMEDOUT)

2007-12-10 Terurut Topik Andry S Huzain
> > On Dec 11, 2007 9:54 AM, Prayana Galih <[EMAIL PROTECTED]> wrote: > Halow, > Ada yang sukses nge-update gem pake Terminal Leopard kalo lagi ada di > belakang proxy? Di Tiger saya tinggal set HTTP_PROXY=" > http://proxy.nya:port ", > dan install ato update gem bisa berjalan de

[id-ruby] Updating gems on Leopard - Operation timed out - connect(2)(Errno::ETIMEDOUT)

2007-12-10 Terurut Topik Prayana Galih
Halow, Ada yang sukses nge-update gem pake Terminal Leopard kalo lagi ada di belakang proxy? Di Tiger saya tinggal set HTTP_PROXY="http://proxy.nya:port";, dan install ato update gem bisa berjalan dengan normal. Sekarang, saya selalu dapat error ini: ERROR: While executing gem ... (Gem::RemoteFe

Re: Balasan: Re: [id-ruby] [tanya] akses remote database

2007-12-10 Terurut Topik Arie Kusuma Atmaja
On 11/12/2007, firman sumirat <[EMAIL PROTECTED]> wrote: > kemarin cari cari di google yg ketemu koneksi ke lebih dari satu database > jadi deh script nya kaya gitu ini sedang memakai drnic script untuk multi connection database itu ya? -- Arie | http://linkedin.com/in/ariekeren | http://profil

Balasan: Re: [id-ruby] [tanya] akses remote database

2007-12-10 Terurut Topik firman sumirat
Aditya Agustyana <[EMAIL PROTECTED]> wrote: > btw tuk mas firman, kenapa mesti require active_record lagi ?, kenapa ndak > mengubah config/database.yml ajah ? === ok thank's kemarin cari cari di google yg ketemu koneksi ke lebih dari satu database jadi deh scri

[id-ruby] sekedar berbagi, Ruby Dev Tools Survey Results

2007-12-10 Terurut Topik Arie Kusuma Atmaja
hwueis seru neh :-D wah flog rupanya belum masuk source: Ruby Dev Tools Survey Results from Pat Eyler by pate http://on-ruby.blogspot.com/2007/12/ruby-dev-tools-survey-results.html >From the results of my Ruby developer tools survey, it looks like there are three real tiers of tools that a lot

[id-ruby] teman2 id-ruby ada yg uda coba merb? was Secret Incantations

2007-12-10 Terurut Topik Arie Kusuma Atmaja
Lagi mengirim lewat google reader lagi saya. Seru banget ni kayanya merb apalagi juga pakai ActiveRecord. http://merbivore.com/ http://www.rubyinside.com/merb-a-lightweight-ruby-web-development-framework-272.html http://brainspl.at/ source : http://feeds.feedburner.com/~r/Gluttonous/~3/1978907

Re: [id-ruby] Best RBAC ? || base-auth

2007-12-10 Terurut Topik Arie Kusuma Atmaja
> > RBAC! damn! siapa tau disini ada yang ingin membuktikannya. ini ada hasil pencarian daripada laman agilewebdev : http://agilewebdevelopment.com/plugins/search?search=RBAC User engine The UserEngine extends the LoginEngine with a very, *very* simple implementation of RBAC - role based access

Re: [id-ruby] Best RBAC ? || base-auth

2007-12-10 Terurut Topik Arie Kusuma Atmaja
po ki ta' kiro ke send nang milis jebole kowe dhewe On 10/12/2007, Arie Kusuma Atmaja <[EMAIL PROTECTED]> wrote: > On 10/12/2007, Hendy Irawan <[EMAIL PROTECTED]> wrote: > > > nggak ada URLnya ? > > ho oh. gw coba send lewat google reader rupanya di forward sebagai > attachment linknya :( > > http

Re: [id-ruby] resize animation images with rmagick

2007-12-10 Terurut Topik Arie Kusuma Atmaja
On 10/12/2007, akang aziz <[EMAIL PROTECTED]> wrote: > test2 'convet' pake imagemagick udah berjalan dgn sangat baik... > > saya coba convert file2 jpg, gif, & png jalan semua kok.. > > [EMAIL PROTECTED] convert DF_230x75.gif -resize 203x75 output.gif > [EMAIL PROTECTED] convert test.jpg -resize 2

Re: [id-ruby] resize animation images with rmagick

2007-12-10 Terurut Topik akang aziz
test2 'convet' pake imagemagick udah berjalan dgn sangat baik... saya coba convert file2 jpg, gif, & png jalan semua kok.. [EMAIL PROTECTED] convert DF_230x75.gif -resize 203x75 output.gif [EMAIL PROTECTED] convert test.jpg -resize 203x75 output2.jpg [EMAIL PROTECTED] convert ngakak

Re: [id-ruby] resize animation images with rmagick

2007-12-10 Terurut Topik inung
On 10/12/2007, akang aziz <[EMAIL PROTECTED]> wrote: > > dear para sensei, > > mo tanya solusi terbaik untuk resize image di rails itu pake apa ya?? > > saya pake rmagick untuk resize file image (gif, png, jpg) di rails. Tadinya > gak ada masalah pas resize image, karena kebetulan yg saya test i

Re: [id-ruby] Pertanyaan Perkenalan

2007-12-10 Terurut Topik Arie Kusuma Atmaja
s/oom//g On 10/12/2007, Aditya Agustyana <[EMAIL PROTECTED]> wrote: > err... anu, RBAC itu apa yak oom ? click http://en.wikipedia.org/wiki/RBAC Role-based access control (Redirected from RBAC) In computer systems security, role-based access control (RBAC) [1] [2] is an approach to restricting

[id-ruby] resize animation images with rmagick

2007-12-10 Terurut Topik akang aziz
dear para sensei, mo tanya solusi terbaik untuk resize image di rails itu pake apa ya?? saya pake rmagick untuk resize file image (gif, png, jpg) di rails. Tadinya gak ada masalah pas resize image, karena kebetulan yg saya test itu file2 image non animated. Tp setelah saya test pake file gif yg

Re: [id-ruby] Pertanyaan Perkenalan

2007-12-10 Terurut Topik Aditya Agustyana
On Dec 4, 2007 7:35 PM, Arie Kusuma Atmaja <[EMAIL PROTECTED]> wrote: > On 04/12/2007, Muhammad Ichsan <[EMAIL PROTECTED] > > wrote: > > > Dear All, > > > > Perkenalkan, saya Ichsan. Saya pendatang baru di Ruby. Masuk ke Ruby > > lewat gerbang Rails. Saya pecinta bahasa cross platform seperti Ja

Re: [id-ruby] [tanya] akses remote database

2007-12-10 Terurut Topik Aditya Agustyana
On Dec 10, 2007 8:34 AM, Andry S Huzain <[EMAIL PROTECTED]> wrote: > > > > On Dec 10, 2007 5:15 AM, firman sumirat <[EMAIL > > PROTECTED]> > wrote: > > halo > > > > saya mau tanya nih, > > > > kalo di rails , cara mengakses remote database itu bagaimana ? > > > > sementara yang saya coba dan bi