From: "Abinoam Jr." Date: 2012-01-12T14:06:18+09:00 Subject: Re: unintialize constant User::HappyMapper (Name Error) Perhaps a ... require 'happymapper' at the beginning of your code will save your day. Abinoam Jr. On Mon, Jan 9, 2012 at 5:07 AM, Sagar Varule wrote: > Hi All, > > I am not able to run the HappyMapper example posted on the site. > > I have attached the copy of the NetBean RubyProject which has where I am > trying to get that example to work. > > Step done so far: > 1. gem install happymapper > 2. Created RubyApplication project in NB > 3. Copy and Pasted the code HappyMapper example code from their site : > http://happymapper.rubyforge.org/ > > > Getting error: > E:/RubyApplication4/lib/main.rb:26:in `': uninitialized > constant User::HappyMapper (NameError) > from E:/RubyApplication4/lib/main.rb:25:in `
' > > I am new to Ruby World...Pls Help!!!! > > Thanks in Advance!!! > > Attachments: > http://www.ruby-forum.com/attachment/6891/RubyApplication4.zip > > > -- > Posted via http://www.ruby-forum.com/. >