My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How big should a controller action be?

Ankit Singhaniya's photo
Ankit Singhaniya
·Mar 2, 2017

From what I've read, people say the controller needs to be skinny. I was looking into one of the popular rails app discource and here is a controller from that app.

As we can see there are action which are 30 lines long. Is that ok to have? Any ideas feedback and suggestions on this?