I’m trying to do this in my controller:
@collector = Collector.find(params[:id])
But when I do, I get this error:
undefined method `find' for ActionController::MimeResponds::Collector:Class
How can I show that I’m trying to use the ActiveRecord model named Collector?
Try to refer to the class prefixed by :: as in
::Collector