Instead of each maybe u should use times.... for example 4.times
Ash On May 21, 4:00 am, Marnen Laibow-Koser <[email protected]> wrote: > Ravi Dtv wrote: > > undefined method `each' for 4:Fixnum > > > How can I solve this error. > > Don't call .each on a number. > > > > > Thanks > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > -- > Posted viahttp://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

