[ogre] Expected Object is NOT missing constant

ilan berci coder68 at yahoo.com
Wed Oct 18 17:20:27 UTC 2006



--- Marc Beaudry <beaudry.marc at gmail.com> wrote:

> hmmm...
> 
> I'm going through the Agile Web Development with
> Rails 2nd Edition and I'm
> now getting the message "Expected Object is not
> missing constant Product!"
> after running "rake db:migrate" (the --trace)
> doesn't seem to clarify much
> for me...
> 
>

Marc, 

Are you calling new on a class (probably referenced by
or referenced to class Product) and you don't have an
initialize() method?

Secondly, if so, are you sure you need to be calling
new on said class?

ilan 

"He desired a stallion, but no stallion appeared. And that’s how he discovered that the planet wouldn’t read his mind and answer his wishes."

whytheluckystiff, why’s (poignant) guide to ruby

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Ogre mailing list