Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the RoR Ruby on Rails section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 22nd, 2008, 03:07 PM
Registered User
 
Join Date: Jul 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Crippy
Default NoMethodError

Hi, I'm trying to get the example on page 22, chapter 1, "Beginning Ruby on Rails". The example is arrays.rb. When I run the program, I get a warning on the first line, "warning: already initialized constant Array. I also get an error on line five, arrays.rb5: undefined method "new" for Array <NoMethodError>. Any ideas? Is this telling me that the method new is not available in Instant Rails?

-Crippy

-Crippy









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.