Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Partial Logic

botanicus edited this page Sep 13, 2010 · 11 revisions

Merb introduces interesting plugin called Merb Parts. The principle is to get your controllers thinner excluding some parts of the logic to another, specific controller. It may be useful for example for widgets on landing page etc.

We don’t need any slices or other magic, it’s simple:

Then you can use

- Merb Parts on Merbivore.com
- Yehuda Katz: Merb Parts are pretty rocking too

Clone this wiki locally