has_one does not work with Address

XMLWordPrintableJSON

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

      I spent a few hours debugging this and I've traced it down to an issue with active_support's singularize. "address".singularize == "addres". This is first causing a problem with an "Addres not found" error which can be fixed with :class_name => "Address". However even with this an array of Address's are created due to Hash::Accessors.insert.

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

              Created:
              Updated:
              Resolved: