I have a MySQL Table named: sorties
I have generated RAILS code using: generate scaffold Sortie Admin
It succesfully geneates the code sorti.rb, with Sortie <
ActiveRecord::Base and admin_controller.rb with references to @sortie
and Sortie.find etc
But when I try to browse to http://localhost:3000/admin/list I get:
"uninitialized constant Sorty" error, and its trying to load sorty.rb
Burried deep down the trace there is:
It would appear that RAILS is trying to singlerise 'sorties', to
'sorty', instead of 'sortie'
I cannot find use of sorty constant anywhere in my code, so I am
confused how to make the correction.
Any Help would be appreciated