ruby - 'const_get': uninitialized constant View (NameError) after running script with typo -
i ran following script mistake:
rails g devise views
then error whenever attempt run rails command:
`const_get': uninitialized constant view (nameerror)
any ideas how can repair this, stack community? can't find references view, don't know how fix it!
i have managed find answer myself.
when accidentally install new model have done here in code
rails g devise views
a route automatically generated. application working again, remove route
devise_for views
from route file at:
[your_application]/config/routes.rb
Comments
Post a Comment