RailsCasts Pro episodes are now free!

Learn more or hide this

equestrianerd's Profile

GitHub User: equestrianerd

Comments by


I'm also curious about this. I would like to move template-related things from my ApplicationHelper into ApplicationDecorator (such as site-wide logo, sign in/out links, etc). I tried simply moving the code over, but then ran into problems trying to test and reference ApplicationDecorator.

If ApplicationDecorator is just meant to act as a global parent that all children will have access to, that's fair, but then to repeat darwalenator's question - what would be the appropriate place for such code?