I tried making EventSearcher just inherit from object, ie:

class EventSearcher

but then I get errors from almost the first line, eg.

failed with NameError: undefined local variable or method `logger'

for my debug statements, and I don't suppose it'll know about my model 
Classes either. Having it inherit from ApplicationController solves 
these problems, but is there a better way of doing this?

cheers,

Mike

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

Reply via email to