[id-ruby] Re: OOT Ada yang mau jadi Railers di Singapore?

2008-02-22 Terurut Topik Arie Kusuma Atmaja
--- In id-ruby@yahoogroups.com, Booking Heaven wrote: > Hehehe Are you really wanna go to Toronto? I haven't decided yet, whether it must be Toronto or not, for me as long as I can be in a cold and suitable place it's fine. Anyway for me the best working place is when there's no boss who ask

Re: [id-ruby] OOT Ada yang mau jadi Railers di Singapore?

2008-02-22 Terurut Topik Booking Heaven
Arie Kusuma Atmaja <[EMAIL PROTECTED]> wrote: http://jobs.monster.com.hk/details/5077297.html?sig=jobalert-9316255 saya nggak mau ke kota2x yang panas (kayak singapore), maunya ke kota2x yang dingin2 aja tanpa harus ngandelin AC (mis. Toronto, dst). itu dijapri

Re: [id-ruby] ruby security

2008-02-22 Terurut Topik Booking Heaven
Link ini akan sangat membantu kamu: http://wiki.rubyonrails.org/rails/pages/Security+Extensions+Plugin http://agilewebdevelopment.com/plugins/category/1 http://www.railslodge.com/plugins/598-security-extensions Memo: Sorry to moderate, i dont know if these links are illegal in your list. I just

[id-ruby] OOT Ada yang mau jadi Railers di Singapore?

2008-02-22 Terurut Topik Arie Kusuma Atmaja
http://jobs.monster.com.hk/details/5077297.html?sig=jobalert-9316255 saya nggak mau ke kota2x yang panas (kayak singapore), maunya ke kota2x yang dingin2 aja tanpa harus ngandelin AC (mis. Toronto, dst). itu dijapri ke email, saya nggak mau reply bukan berarti belum sempat reply ke ybs (dalam

[id-ruby] Diskusi Exception Handling was: rescue stmt modifier

2008-02-22 Terurut Topik Arie Kusuma Atmaja
--- In id-ruby@yahoogroups.com, Edwin Pratomo wrote: > itu ada di buku pickaxe, ri (mumbling myself) ho, ntar ta' buka buka dulu bukunya duh mana sih ga ketemu2x.. hm.. (ngelirik ke beginning ruby, dapet tapi belum puas), nyontek dulu disini http://en.wikipedia.org/wiki/Ruby_%28programming

[id-ruby] ruby security

2008-02-22 Terurut Topik Devin Maggots
Hi...saya ingin bertanya ad yg tau security d ruby t'rutama yg b'hubungan dengan cross site scripting(XSS). Misalny fungsi2 d ruby untuk menangani XSS. Terima kasih...

Balasan: Re: [id-ruby] rescue stmt modifier

2008-02-22 Terurut Topik Edwin Pratomo
--- Yohanes Santoso <[EMAIL PROTECTED]> wrote: > Yohanes Santoso <[EMAIL PROTECTED]> writes: > > > Edwin Pratomo <[EMAIL PROTECTED]> writes: > > > >> foo = %w(foo bar baz).collect do |fn| > >> fn = "#{fn}.txt" > >> fh = File.open(fn, 'r') rescue next nil > > > > fh = File.open(fn, 'r') rescue (n

Balasan: [id-ruby] Re: rescue stmt modifier

2008-02-22 Terurut Topik Edwin Pratomo
--- Arie Kusuma Atmaja <[EMAIL PROTECTED]> wrote: > --- In id-ruby@yahoogroups.com, Edwin Pratomo wrote: > > > i == 1 and raise "error" rescue next nil > > celingak celinguk - saya gak pernah tau ada sintaks rescue ruby begini :-/ > yakin nih ini > ruby way?? itu ada di buku pickaxe, ri >

Re: [id-ruby] rescue stmt modifier

2008-02-22 Terurut Topik Yohanes Santoso
Yohanes Santoso <[EMAIL PROTECTED]> writes: > Edwin Pratomo <[EMAIL PROTECTED]> writes: > >> foo = %w(foo bar baz).collect do |fn| >> fn = "#{fn}.txt" >> fh = File.open(fn, 'r') rescue next nil > > fh = File.open(fn, 'r') rescue (next nil) Alternatively, since no-argument 'next' evaluates similar

Re: [id-ruby] rescue stmt modifier

2008-02-22 Terurut Topik Yohanes Santoso
Edwin Pratomo <[EMAIL PROTECTED]> writes: > foo = %w(foo bar baz).collect do |fn| > fn = "#{fn}.txt" > fh = File.open(fn, 'r') rescue next nil fh = File.open(fn, 'r') rescue (next nil) > "content of #{fn}" > end YS

[id-ruby] Re: rescue stmt modifier

2008-02-22 Terurut Topik Arie Kusuma Atmaja
--- In id-ruby@yahoogroups.com, Edwin Pratomo wrote: > i == 1 and raise "error" rescue next nil celingak celinguk - saya gak pernah tau ada sintaks rescue ruby begini :-/ yakin nih ini ruby way?? afaik (dalam contoh lain tapi senada) begini: Object.respond_to?("foo") => 1 (1) if true fo

[id-ruby] rescue stmt modifier

2008-02-22 Terurut Topik Edwin Pratomo
howdy folks ini bisa: bar = [1, 2].collect do |i| i == 1 and raise "error" rescue next nil i == 2 and "ok" end tapi ini syntax error: foo = %w(foo bar baz).collect do |fn| fn = "#{fn}.txt" fh = File.open(fn, 'r') rescue next nil "content of #{fn}" end jika tidak ada assignment "fh = "

Re: [id-ruby] tanya Exception

2008-02-22 Terurut Topik irfaniYangBaikHati
2008/2/22 Irvan <[EMAIL PROTECTED]>: > > > def create >begin > @item = Item.new(params[:item]) > if @item.save >flash[:notice] = 'Item was successfully created.' >redirect_to :action => 'list' > els

Re: [id-ruby] Sabtu ini, tanggal 16 Feb, jadi nggak?

2008-02-22 Terurut Topik Andry S Huzain
jadi kenapa nggak pake MacFuse untuk mount ssh, dan edit pake Textmate? :d 2008/2/22 rofiq <[EMAIL PROTECTED]>: > emacs hanya dipake dalam kondisi darurat aja :-D > biasanya jg pake textmate kok > > akhir2 ini jarang oprek2 ruby dan rails :-( > lagian kan lucu kalo yg presentasi orangnya sama t

[id-ruby] tanya Exception

2008-02-22 Terurut Topik Irvan
allow kakak2.. saya mu nanya lagi...(hihi perasaan nanya terus deh) saya mau ngambil *ERRORNUMBER n SQLSTATE * dari sebuah operasi di sql di rails --> db MySQL saya sudah nemu, tapi masih pake native gitu -- require "mysql" begin #

Re: [id-ruby] Sabtu ini, tanggal 16 Feb, jadi nggak?

2008-02-22 Terurut Topik Suprie Leonheart
saya lom pernah kesana, boleh dateng ngga ? 2008/2/22 rofiq <[EMAIL PROTECTED]>: > emacs hanya dipake dalam kondisi darurat aja :-D > biasanya jg pake textmate kok > > akhir2 ini jarang oprek2 ruby dan rails :-( > lagian kan lucu kalo yg presentasi orangnya sama terus, perlu variasi gitu. > > >