Error deploying to Heroku using Mongoid

I am getting an error on a view when I move my app to Heroku that I am not getting in development or locally in production mode. I started with the Devise Mongoid app from railsapp.github.com and added bootstrap.

When I deploy to Heroku I get the following error on the Devise navigation parcial,

ActionView::Template::Error (can't convert Array into String):

Im using Mongoid 3.0.0.rc

I think it's related to Mongoid because I was able to get it work originally with 2.4.10 but now I get other errors with that version. Also, If I comment out the lines in the parcial where it errors, it loads the root okay but eventually crashes out if I navigate around.

I'm running out of ideas!

I can post logs or configuration files if that would help.

Answers


Its known and being worked on. https://github.com/mongoid/moped/issues/21

Advice downgrading back to what you were using for. 3.0.0.rc is also giving me some heroku issues


Need Your Help

android c2dm programming example

android android-c2dm

I am new to android application development. I am developing an android application using c2dm. Can anyone tell me of how to receive the registration id for the application from c2dm. Please tell m...

JavaFX detecting 404 responses from WebEngine

java javafx javafx-webengine

Using JavaFx WebEngine, how can I detect if there is a 404 page not found error. I have searched but not able to find anything. Any ideas? or Is it possible?