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
This error can also be caused by having references to Moped::BSON in serialized cookies/session. Deleting cookies fixes it then.
Moped::BSON