This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 505
Missing Block #7
Comments
Ok, I "found" the problem but I have no idea how to solve it: I have a select list inside my nested model. So the form has "f.select ..." but when I edit my object, it won't get selected in the one that it was stored. So I just added a And there is where the missing block error appears. Any help? |
Just had to use the f.object method to get what I wanted... |
Can you elaborate on your solution? I'm having the same problem. |
Ok, what I have is this:
I hope that helps |
That helps. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I get a Missing Block error when I try to use nested_form_for instead of form_for
<% nested_form_for @project, :html => { :multipart => true } do |f| %>
The most wired thing is that it happens when I try to submit something that is not valid and not when I first render the "new" action.
The text was updated successfully, but these errors were encountered: