Concerns to the Rescue.

Concerns are helpers that are used  to slim down the codes in models and the controllers. Primary logic to implement are fatty models and skinny controllers. According to the rubocop guidelines, the possible LOC allowed in a file is 100 to 120 in a file. we can create model concerns, controller concerns. in order to…