Article

CommunityEngine Updated to v0.10.0

Just wanted to let everyone know I tagged a new version of CommunityEngine which adds support for draft and published states for blog posts. Please note, this requires a new migration, so if you previously installed CE, you’ll have to run

ruby script/generate plugin_migration

and then

rake db:migrate

Don’t know about CommunityEngine yet? Well, it’s a free, open-source social network plugin for Ruby on Rails applications. Drop it into your new or existing application, and you’ll instantly have all the features of a basic community site. Read the announcement post or check out the CommunityEngine site.

Comments (2 comments)

Hello there,

I’m trying to use your plugin with a new appliction I’m developing and I’m getting an error when I run:

ruby script/generate plugin_migration

The error message is:

/vendor/plugins/community_engine/engine_plugins/haml/lib/haml/template.rb:84:in `alias_method’: undefined method `read_template_file’ for class `ActionView::Base’ (NameError)
from /Users/bartiaco/projects/research_projects/communityenginetest/vendor/plugins/community_engine/engine_plugins/haml/lib/haml/template.rb:84

I believe that it has to do with an older version of haml packaged with the plugin(1.7.1, and I believe 2.0 is the most recent). I have found some notes in the haml google group that refer to this being fixed in post 1.8.1 versions.

Before I got and start replacing plugins, I just wanted to ask 2 things:

A) Have you customized any of the plugins in the engine_plugins folder, or are they all stock?

B) Sort of a side question: have you considered abstracting out some of the plugins? I appreciate your desire to have the engine contain all of the necessary parts, but some of the plugins included make it difficult to ‘drop’ into another application.

For example: the Sqlsessionstore is an alternative to the available rails session options. While there may definitely be benefits to using it, is seems like that plugin is a deployment related decision, and should be abstracted from the community engine.

I hope this doesn’t sound overly critical. Your plugin is exactly what I need for a project I’m working on right now, I’m just hoping to trim a bit of fat, so to speak, so that it can work with what I already have.

Brian Artiaco / May 24th, 2008, 10:22 pm / #

Hey Brian,
I appreciate the comments. In particular, I agree that the session store question probably should be taken out of the plugin; I’ll put that on my list. As for replacing plugins, I think the only one I’ve touched in Attachment_fu, in order to fix a big with S3 image uploading.

bruno / May 25th, 2008, 9:27 am / #

Post a comment