Hi all,
I have a controller that I wanted named KETaskController, defined in
the file ke_task_controller.rb, but Rails wants to reference the
controller class as KeTaskController. Specifically, my controller
class is defined as:
class KETaskController < ApplicationController
but Rails expects something different according to its naming
conventions:
LoadError (Expected script/../config/../app/controllers/
ke_task_controller.rb to define KeTaskController)
Now, I can see where I can override pluralization rules for singular
nouns, but I don''t know where I can tweak the camelization of a
specific controller name.
It''s not a huge deal -- I could just use KeTaskController -- but
that''s a bit confusing because KE stands for Knowledge Engineering in
this app.
Any thoughts? Many thanks,
- David
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---