# Thin Controler - Limiting case

**URL:** <https://www.ruby-forum.com/t/thin-controler-limiting-case/124051>\
**Category:** Rails\
**Created:** [December 24, 2007, 2:32am UTC](https://www.ruby-forum.com/t/thin-controler-limiting-case/124051 "2007-12-24T02:32:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [December 24, 2007, 2:32am UTC](https://www.ruby-forum.com/t/thin-controler-limiting-case/124051/1 "2007-12-24T02:32:56Z")

</div>

I’ve come back to working with Rials after a tie away and picking up a  
half completed project.

One of the controllers was based on a something I found on the web but  
can no longer find. It was a definitively ‘thin’ controller.  
Basically, it went like this:

class XyzController \< ApplicationController

public  
def firstmethod end  
def secondmethod end  
def thirdmethod end

private

def method\_that\_does\_something  
…  
end  
end

And of course the views/Xyz/firstmethod etc and the helper did ‘real  
work’. Presumably the views had some other smarts in the 🙂

I can no longer find the article on-line (google only does so much and  
you have to wade though the rest) and I can’t find the article in y  
bookmarks.

I was wondering if anyone recalled the article or could point me to  
something about such anorexically slim controllers.

–  
After you become a millionaire, you can give all of your money away  
because what’s important is not the million dollars; what’s important is  
the person you have become in the process of becoming a millionaire. –  
Jim Rohn
