Walter Davis wrote in post #1032619: > On Nov 18, 2011, at 6:13 PM, Eugene Moy wrote: > >> >> fevent = Foodevent.new( > > At this point, have you already declared or required the Foodevent > class? From the sounds of that error, I think maybe it isn't there yet. > > Walter
I think I did? I created a new project then ran rails generate scaffold Foodevent from:string subject:string date:string time:string body:text and rake db:migrate before running the script. -- Posted via http://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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.