All ruby on rails forms doesn't load

Posted June 8, 2016 2k views
Ruby on RailsUbuntuDigitalOcean 1-Click Apps MarketplaceDeployment

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.

1 comment
  • 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

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.

Submit an Answer
1 answer

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