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

Fix combo of validators + localized + aliased

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

      Fields which are both localized and aliased have errors:

      field :foo, as: :foobar, localize: true, type: String
      
      validates_uniqueness_of :foobar
      
      validates_length_of :foobar, maximum: 30
      

            Assignee:
            durran Durran Jordan
            Reporter:
            johnnyshields Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: