On Tue, May 14, 2013 at 3:54 PM, Makru <[email protected]> wrote: > Post.find (:all) > answers: > Post Load (1.2ms) .... > =>nil > Is working under development and showing all entries. I assume under > production the table is there, but no entry. > app.get 'posts/new' > answers: > =>200 > Same answer as under development. > But the good thing, i know now something about rails console :-)
OK, so your app apparently is basically working. But (restating) if you try to access /posts/new from a browser you get a 404, right? What happens if you access the unicorn instance directly, from the server command line? If the above works, then the problem is somewhere between nginx and unicorn; you should find your nginx log(s) and see what happens at that point. I would open up 3-4 windows side-by-side and tail -f the nginx access, error, and unicorn log(s) -- don't remember if it has both access and error logs -- and watch in real time. -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
