uninitialized constant Moped::BSON in rails 4 app on heroku

后端 未结 3 1922
时光取名叫无心
时光取名叫无心 2021-02-09 07:52

I just updated from rails 3 to rails 4. Everything works locally, but deployed on heroku, I get the following error:

ActionView::Template::Error (uninitialized c         


        
3条回答
  •  礼貌的吻别
    2021-02-09 08:37

    This error can also be caused by having references to Moped::BSON in serialized cookies/session. Deleting cookies fixes it then.

提交回复
热议问题