observer deprecated

16 views
Skip to first unread message

Taki

unread,
Mar 2, 2009, 3:22:02 AM3/2/09
to Beginning Ruby on Rails E-Commerce
hi, I've just changed to rails 2.0 and got "undefined method
`observer' for AccountController:Class"

so I commented out observer :user_observer and
set config.active_record.observers =[:user_observer] in
environment.rb

Anything more I have to do to get it working on rails 2.0?

appreciate any help.

Jarkko Laine

unread,
Mar 3, 2009, 3:25:22 AM3/3/09
to railsec...@googlegroups.com
Hi Taki,

There will probably be lots of things that have changed, there have
been several major Rails revs since the book was written. Your best
bet will be to just ask here if you find some changes you can't figure
out.

//jarkko

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages