Report this

What is the reason for this report?

All ruby on rails forms doesn't load

Posted on June 8, 2016

I have a droplet with ruby on rails (postgres, nginx and unicorn) configured and it works fine for most pages, but not for any of the forms. So I can access the the view for index of a controller (or any static pages), but I cant access the new for example or the edit of any of my classes. When I try http://dropletIP/XXXX/new firefox answers me with incorrect redirecting.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Pardon me, it was a dumb error in my code, all solved now ;p

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.