Uploaded image for project: 'Olio'
  1. Olio
  2. OLIO-110

tag/event queries need optimising

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • rails-app
    • None

    Description

      Attached is a patch addressing some of the issues we have run into and "fixed" in our deployments of Olio.

      Patch details:

      1) lib/tagcount.rb has a query that has been optimized for the home page.
      2) vendor/plugins/acts_as_taggable/lib/tagging.rb has been changed to support a counter_cache.
      3) db/migrate/20090713225055_add_counter_cache_to_tags.rb has been
      added to create the counter_cache.

      Attachments

        1. olio-20090729.patch
          9 kB
          Amanda Waite

        Activity

          People

            tekgrrl Amanda Waite
            tekgrrl Amanda Waite
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: