Inherit attrs permit status

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.15
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi, I've realized that with my previous commit [MONGOID-33b410a] (https://github.com/mongoid/mongoid/pull/2600) I didn't care about if the attrs parameter was permitted or not, so attributes would never be permitted, resulting always in ActiveModel::ForbiddenAttributes exception when using MultiParameter Attributes. This solves the issue and makes multiparameter attributes work with strong parameters.

              Assignee:
              Unassigned
              Reporter:
              xxswingxx
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: