hedgehoglab

  • Check out fixx to help you write better software and deliver projects on time.

One of the great things about Rails is the ability to write and use plugins, which allow the abstraction of repeated code and re-use of code that other people have written.

We have certainly benefited from plugins in our Rails development, using some really useful plugins like acts_as_commentable, attachment_fu and asset_packager

Therefore, when we found ourselves writing repetitive code to add tasks to various objects (like people, projects etc.) in exxitplan (our latest product), I decided to abstract all of that into a plugin called acts_as_taskable. It is a blatant rip-off of the excellent acts_as_* plugins that come before it (in fact, we just did a find + replace to come up with this plugin), so people should be familiar with it.

Without much further ado, I give you acts_as_taskable.

blog comments powered by Disqus

Date Archive

20101 posts
200930 posts
200846 posts
20079 posts

Category Archive

hedgehog contact
Download V-Card
Address
hedgehog lab,
Suite 12 & 13, The Kiln,
Hoults Yard, Walker Road,
Newcastle Upon Tyne,
Tyne & Wear,
NE6 1AB
Company Details
+44 (0) 191 265 3101
Registered in England and Wales: Company No. 05993194