Question

All ruby on rails forms doesn't load

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.

Subscribe
Share

Actually now it is redirecting me to my root page instead of going to the actual page PS.: This does not happen locally, so I don’t think it’s a problem with the coding itself


Submit an 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