rails app strange error, no trace, no log output help please seriously issue " !! Unexpected error while processing request: -
all out of sudden, after replacing app error like:
!! unexpected error while processing request: undefined method `show' "/":string i have replaced code backup few hours earlier, test app continuously when i'm building new features opening browser , clicking true pages, old code backup worked flawlessly cannot app work anymore
help! more advanced ruby on rails coders can me fix this? thx
full output of rails/server not log!
/users/jordan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=argv.shift) /users/jordan/apps/books/script/rails server -b 0.0.0.0 -p 3000 -e development => booting thin => rails 3.2.3 application starting in development on http://0.0.0.0:3000 => call -d detach => ctrl-c shutdown server >> thin web server (v1.3.1 codename triple espresso) >> maximum connections set 1024 >> listening on 0.0.0.0:3000, ctrl+c stop !! unexpected error while processing request: undefined method `show' "/":string !! unexpected error while processing request: undefined method `show' "/":string !! unexpected error while processing request: undefined method `show' "/":string !! unexpected error while processing request: undefined method `show' "/":string !! unexpected error while processing request: undefined method `show' "/profiles":string !! unexpected error while processing request: undefined method `show' "/about":string things tried
- cleaned routes file
- restarted machine
- removed gems gem set , installed cleanly
- tested ruby on rails app wich worked fine
the solution , lesson learned
i had custom initializer logging not assets, 1 messed somehow broke in upgrade latest ruby on rails version. check /config/ , initializers before app code if kind of strange behavior ;p
Comments
Post a Comment