alchemy_cms

https://github.com/magiclabs/alchemy_cms

Ruby

AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻‍♂️

User#confirmation_period_valid?

This works around a bug in Devise 4.2.0 that erroneously causes a user to
be considered active in MySQL specs due to a sub-second comparison
issue. For more details, see: https://gitlab.com/gitlab-org/gitlab-ee/issues/2362#note_29004709

Source | Google | Stack overflow

Edit

git clone [email protected]:magiclabs/alchemy_cms.git

cd alchemy_cms

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-User-confirmation_period_valid--for-pr


# Commit to git

git add git commit -m "better docs for User#confirmation_period_valid?"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-User-confirmation_period_valid--for-pr

hub pull-request


# Celebrate!