Is Services a reserved word?

I want to have a controller/model called services_controller.rb/service.rb

all went well, but then I tried to get a 'list' view and I got this error...

Message uninitialized constant ServicesController::Services Location /services/list Action list Controller services

which worries me because it doesn't say ServicesController::ApplicationController

must I rename? ;-(

I want to have a controller/model called services_controller.rb/service.rb

all went well, but then I tried to get a 'list' view and I got this error...

Message uninitialized constant ServicesController::Services Location /services/list Action list Controller services

which worries me because it doesn't say ServicesController::ApplicationController

must I rename? ;-(

This most likely happened because you tried to do Services.find() instead of Service.find().

-Bill

Craig White wrote: