'exists?' and 'first' caching.

XMLWordPrintableJSON

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

      At the moment criteria caching works for to_a and count. I think, that for consistency it should also cache 'exists?' and 'first' requests. Also 'first' doesn't have to fire if 'to_a' is already cached and 'exists?' doesn't have to fire if 'to_a' or 'first' is already cached. Can this feature be implemented?

            Assignee:
            Arthur Nogueira Neves
            Reporter:
            Yuriy Trofimenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: