GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
This method groups a collection into arrays of a certain amount of
elements and returns an array of those groups.
It seems like it would be easily confused with Array#in_groups_of, which basically does the same thing but lets you pad the remaining slots instead of dropping them.
Thank you for the pull request but I think we don't need to add this method to Rails since we have Array#in_groups_of