Rails Engine: uninitialized constant User
1
Not solved Solved
10 months 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

Cancel
Submit your answer