osem

https://github.com/opensuse/osem

Ruby

Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.

Registration#registration_to_events_only_if_present

If the user registers to attend events that are already scheduled,
only allow registration to events if the user will be present
(based on arrival and departure attributes)
No validation if arrival/departure attributes are empty

Source | Google | Stack overflow

Edit

git clone [email protected]:opensuse/osem.git

cd osem

open app/models/registration.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Registration-registration_to_events_only_if_present-for-pr


# Commit to git

git add app/models/registration.rbgit commit -m "better docs for Registration#registration_to_events_only_if_present"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Registration-registration_to_events_only_if_present-for-pr

hub pull-request


# Celebrate!