Schalk Neethling wrote:

> Expected C:/DEVELOPMENT/satechevents/app/helpers/cms_helper.rb to define 
> CmsHelper

In general, whenever that happens, spot-check the file with

   ruby app/helpers/cms_helper.rb
   script/runner app/helpers/cms_helper.rb

Sometimes when the Magic Loader finds a syntax error inside a file, it throws 
the error away, then complains the file did not define its target class.

Next, calling a controller CMSController gives me a bad feeling. Maybe Rails 
parses it correctly, but we always go with like CmsController.

 > Should every controller have an associated model?

No; a controller is like a telephone operator switchboard. It just plugs models 
and views together so they can communicate.

How are your unit tests doing?

-- 
   Phlip


--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to