Forum: Ruby on Rails loops

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
60bb25c88eda9e783e1d22653e26f86d?d=identicon&s=25 Smarty 2k (smartee)
on 2008-11-24 11:49
hi friends....

please help me!!!!

for (int i=0; i < total; ++i)
{
  // do something here
@blogid=params[:blog][:s.id]   # multiple row
}

Convert Ruby loops
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-11-24 11:57
(Received via mailing list)
On 24 Nov 2008, at 10:49, Smarty 2k wrote:

>
> Convert Ruby loops

http://www.zenspider.com/Languages/Ruby/QuickRef.html#23
Get yourself a ruby book, there several free ones
(http://www.humblelittlerubybook.com/
, 1st edition of Programming Ruby (only covers 1.6 but the basics are
still the same)

Fred
34a7615f38496a5dafbb3e6b721c435e?d=identicon&s=25 Mohit Sindhwani (Guest)
on 2008-11-24 12:15
(Received via mailing list)
Smarty 2k wrote:
> Convert Ruby loops
>

I'm not sure what you are trying to do, but a primer in Ruby loops will
help, from the look of it:
http://www.rubyist.net/~slagell/ruby/control.html
http://www.techotopia.com/index.php/Looping_with_f...

Cheers,
Mohit.
11/24/2008 | 7:14 PM.
This topic is locked and can not be replied to.