Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fallback to default value when assigning nil #370

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 14, 2016

  1. Add the :use_default_on_nil option

    :use_default_on_nil makes an attribute fallback to the :default value
    (if one is set) when attempting to set it to nil
    lime committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    d702e4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    103146f View commit details
    Browse the repository at this point in the history
  3. Document :use_default_on_nil

    lime committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    5bb1b92 View commit details
    Browse the repository at this point in the history