I have a namespace as admin and in this i have class as Admin::Business.
I want to add observer to it. I tried to add a class Admin::BusinessObserver
and adding the observer in environment.rb like

config.active_record.observers = [Admin::BusinessObserver]. but it does not
work. Can anybody guide me to add observer to namespaced classes.

-- 
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 [email protected].
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