If I get some spare time I'll try and separate out some of the code in this 
one app.  Basically wrote a simple blog as part of the app and I can see a 
few reusable tools in there.

-polymorphic comments that you just have to add the has_many to the target 
and comment form + part updated comments shows up on the model's show page
-tags, similarly but using acts_as_taggable and have to add an autocomplete 
method to the model controller
-rating, similarly but using star-rating
-polls, maybe useful if someone is building a cms

admittingly the polymorphic nature of each is overkill, but for the app I'm 
writing where I'll probably have 20-30 models that need to be commentable, 
ratable and taggable, saves me a ton of code as well as making the interface 
easily standardized for each.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to