Access attributes using a method, allows attributes overriding.

XMLWordPrintableJSON

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

      The AR api describes the attributes method as a means to override serialization attributes, etc.
      The proposed fix makes it trivial to inject new attributes to a model, while not doing any dirty hacks to the method_missing. All specs pass.

              Assignee:
              Durran Jordan
              Reporter:
              Roman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: