current line of thinking towards reusable code / components

Things change so fast and I was just wondering what the current
convention is towards reusable code in Rails. Do we create gems,
plugins, components??

Thanks

rails.impaired

rails.impaired wrote:

Things change so fast and I was just wondering what the current
convention is towards reusable code in Rails. Do we create gems,
plugins, components??

Plugins would likely be your best candidate for reusable code that is Rails-specific.

If it's pure Ruby, would suggest a gem.

Cheers,
Robby