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

Assets precompilation breaks on heroku when updating from 3.0.10 to 3.0.11+

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

      I have an application with mongoid hosted on heroku (cedar) / unicorn.

      When I change the mongoid version from 3.0.10 to anything newer and push to heroku, those steps in the push are not executed for some reason:

      -----> Preparing app for Rails asset pipeline
      Running: rake assets:precompile
      Asset precompilation completed (48.30s)

      The result are server errors because X is not precompiled (every asset)

      Another strange thing is that I can heroku run rake assets:precompile --trace that seem to complete without errors, but when the app is accessed, server still returns 500: X not precompiled.

      The list of things fixed in 3.0.11 doesn't seem to show anything relevant:

      Resolved Issues

      • MONGOID-2522 Fixed Criteria#with to return the criteria and not the class.
      • MONGOID-2518 Fix unit of work call for the identity map when using Passenger.
      • MONGOID-2512 Ensure nested attributes destroy works with the delayed destroys introduced in 3.0.10 when multiple levels deep.
      • MONGOID-2509 Don't hit identity map an extra time when the returned value is an empty hash. (Douwe Maan)

      Maybe someone have ideas what could've had changed?

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

              Created:
              Updated:
              Resolved: