Displaying 1 result from an estimated 1 matches for "gallery_development".
2007 Aug 15
0
Rails error on generated app
...; ActiveRecord::Base and in the
completely generated app I get an error when creating a row in the db
for an "uninitialized constant Photo".  I can;lt find photo in the
generated cod via fgrep.  I''m at a loss.
I followed these steps
*  rails gallery
*  cd gallery/
*  # create a gallery_development schema using MySQL Query browser
*  script/generate migration photos
*  # edit the migration file to create the empty table
*  rake migrate
*  # checked the database and "photos" table looks correct
*  script/generate scaffold photos photos
*  script.server
Now comes the weird part when...