carrierwave

https://github.com/carrierwaveuploader/carrierwave

Ruby

Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks

Poll#grouped_stance_choices

creates a hash which has a PollOption as a key, and a list of stance
choices associated with that PollOption as a value

Source | Google | Stack overflow

Edit

git clone [email protected]:carrierwaveuploader/carrierwave.git

cd carrierwave

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Poll-grouped_stance_choices-for-pr


# Commit to git

git add git commit -m "better docs for Poll#grouped_stance_choices"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Poll-grouped_stance_choices-for-pr

hub pull-request


# Celebrate!