I thought I was LONG past something like this, but I guess not.
I’m starting a new application. I created my database, one model
(‘testimonials’ for the testimonial table), and an admin controller. To
get a starting point, I added one line:
scaffold :testimonials
When I try to open the admin controller (localhost:3000/admin), I get
the following error:
uninitialized constant Testimonial
RAILS_ROOT: script/…/config/…
Application Trace | Framework Trace | Full Trace
This error occured while loading the following files:
testimonial.rb
All I’ve done is add the scaffold line. Can someone suggest what might
be wrong?
tia
—Michael