Rails Engine: uninitialized constant User
Not solved Solved
about 1 year ago

I am trying to convert a rails app into an engine so that I can use it in my own Rails app.

I have converted everything to engine modules etc. (I'm still in my engine directory and haven't started implemented it yet in my rails app) but when I run 'rake db:migrate' in the root I get the error:

rake aborted! NameError: uninitialized constant User

Check my stackoverflow for further details: http://stackoverflow.com/questions/36787418/rails-engine-uninitialized-constant-user

Submit your answer