Michael,
Do you simply mean I should put my repeated code in a module and
include that module in both places?  If so, sure it works to reduce
text but duplicates code in different classes.  Is this just more of
"ruby style OO"? ;)

thanks, Jon

On Dec 25, 7:29 am, Michael Klishin <[email protected]>
wrote:
> On 25.12.2008, at 2:26, Jon Hancock wrote:
>
> > Doesn't inherit from my application controller so I lose common
> > behavior
>
> With modules, you wouldn't, so just refactor your Application  
> controller.
>
> MK
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to