3 Jul 2009 09:08
Re: Re: Mau tanya tentang paginate
td saya coba hilangin require "will_paginate" terus restart server bisa jalan juga. config.gem tuh mksdnya gmn pak?? ga ngerti nih... mklm masih pemula. ini link yg saya pakai http://gitrdoc.com/mislav/will_paginate/tree/master/ ________________________________ From: arie <ariekusumaatmaja@...> To: id-ruby@... Sent: Friday, 3 July, 2009 14:00:21 Subject: Re: [id-ruby] Re: Mau tanya tentang paginate i nengah august M wrote: > klo saya taruh di /config/environtmen t.rb terus... semoga membantu > > Rails::Initializer. run do |config| > .... > end > > Rails::Initializer. run do |config| > config.gem 'mislav-will_ paginate' , :version => '~> 2.3.11', :lib => 'will_paginate' , > :source => 'http://gems. github.com' > end > require "will_paginate" > setau saya kalo sudah di config.gem ga perlu require lagi (biar kodingnya bersih). kalo itu dihapus nggak mau to? -- be agile XOR break; http://ariekusumaat maja.wordpress. com/about [Non-text portions of this message have been removed] ------------------------------------ ID-Ruby Berdiskusi dan belajar bersama Bahasa Pemrograman Ruby, termasuk segala varian Ruby (JRuby, Rubinius, IronRuby, XRuby), dan program yang dibuat dengan Ruby (Ruby on Rails, JRuby on Rails, Merb) <*> Kunjungi *arsip milis* id-ruby di http://groups.yahoo.com/group/id-ruby/messages http://www.mail-archive.com/id-ruby-hHKSG33TihhbjbujkaE4pw <at> public.gmane.org/ http://rubyurl.com/Q8DD http://news.gmane.org/gmane.comp.lang.ruby.region.indonesia <*> Baca peraturan id-ruby sebelum posting http://rubyurl.com/gay1 <*> Ikutilah Jajak Pendapat ID-Ruby http://rubyurl.com/3CCt <*> Links ID-Ruby http://rubyurl.com/n96r <*> Database ID-Ruby http://rubyurl.com/Iw3u <*> Kunjungi Situs Resmi Ruby Indonesia http://www.ruby-lang.org/id/ <*> Join Ruby Indonesia on Facebook http://rubyurl.com/QV48 <*> Join Ruby Indonesia on LinkedIn http://rubyurl.com/eh0i Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/id-ruby/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/id-ruby/join (Yahoo! ID required) <*> To change settings via email: mailto:id-ruby-digest@... mailto:id-ruby-fullfeatured@... <*> To unsubscribe from this group, send an email to: id-ruby-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RSS Feed