FAQ Database Discussion Community

Uninitialized constant using nested forms in Rails

I keep getting an error saying uninitialized constant Page::PageAttachment when trying to create a nested form using the nested_form gem. Here is some relevant code. Let me know if you need any other code or have any questions. Stacktrace isn't really telling me anything except that the failing line is...