Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1280

Mongoid preloading + Rails 3.1 Asset Pipeline = slow

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      In one of our large Rails apps, we use a lot of inheritance. We don't like that fact, but that's how it is right now. So of course we have to keep preloading on with Mongoid. In the process of upgrading to Rails 3.1 and trying to use the new Asset Pipeline it is extremely slow. Here are couple examples:

      Preloading ON: http://yfrog.com/kgmkfp
      Preloading OFF: http://yfrog.com/nycmjep

      I understand the need to preload models when using inheritance, but Durran mentioned that perhaps only the "inherited" models could be preloaded, which may help speed things up a little bit.

            Assignee:
            Unassigned Unassigned
            Reporter:
            joeybeninghove Joey Beninghove
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: