3 ms·Most Rubyists try to keep methods between 5-10 lines long. 7 is the number for a Rails controller.by steveklabnik 13y agoMost Rubyists try to keep methods between 5-10 lines long. 7 is the number for a Rails controller.