I am rather new to the rails world and need your help in pointing me to
good sample project and/or some hints how best to implement it.
I have implemented an API section for a website of mine that deals with
Key management and want to publish parts of it as a gem so that it can
easily used it in other projects. This consists of controllers, views,
mongoid models, some coffeescript code, some scss. In a way it is a mini
application with replaceable parts.
What is the recommended way in Rails 3 to implement this in a gem so
is reusable and future proof (Rails 3.1 comes to mind). Should I look
rails engines? Do you know of any samples that implement best practices?