Missing Attribute error when using only for localized fields

XMLWordPrintableJSON

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

      Using latest commit dba1c17b1 and when querying on some localized field, say

      > p=Product.only(:name).first # name is localized field
      > p.name

      Results in Missing attribute: 'name'.

      Any idea?

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

                Created:
                Updated:
                Resolved: