Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3694

Make attr_readonly compatible with field aliases

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      attr_readonly did not work as expected when being provided the aliases of fields. See 060687d for the failure scenario.

      (I may have gone a little overboard with the specs… Feel free to cut as appropriate.)

            Assignee:
            Unassigned Unassigned
            Reporter:
            niels Niels Ganser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: