browsermedia / bcms_blog

The Blog Module for BrowserCMS
http://browsercms.org
GNU Lesser General Public License v3.0
26 stars 25 forks source link

Rails 3: BlogObserver doesn't seem to be working #2

Open peakpg opened 13 years ago

peakpg commented 13 years ago

I created a Rails 3/bcms 3.3 branch to try testing the upgrade for a project. I think the CMS/Rails 3 upgrade took, but there is an issue with the BlogObserver where nothing seems to happen after saving the blog. This could be just something that needs to be changed in this module, or the bcms 3.3 persistance code may have broken observers.

There are a number of tests that are broken as well.

synth commented 13 years ago

just requires adding a line to application.rb, config.active_record.observers = :blog_observer

i updated the readme on the rails3 branch of my fork: https://github.com/synth/bcms_blog