Geoffrey Grossenbach recently posted two excellent articles on using and implementing Rails plugins:
This is the personal blog of Mirko Froehlich, software engineer, technology geek, and dad.