We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hola, nos sale este error cuando intentamos inscribir un usuario en un curso
ActionController::RoutingError (No route matches [POST] "/courses/show"):
Usamos una tabla intermedia para la relación entre usuarios y cursos y el form no está logrando crear la asociación. Este es el form que hicimos:
<%= form_with(model: @users_course, method: :post) do |form| %>
<p> <%= form.text_field :user_id, :value => current_user.id, readonly: true%> </p> <p> <%= form.text_field :course_id, :value => @course.id, readonly: true%> </p> <div> <%= form.submit 'enroll' %> </div>
<% end %>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hola, nos sale este error cuando intentamos inscribir un usuario en un curso
ActionController::RoutingError (No route matches [POST] "/courses/show"):
Usamos una tabla intermedia para la relación entre usuarios y cursos y el form no está logrando crear la asociación. Este es el form que hicimos:
<%= form_with(model: @users_course, method: :post) do |form| %>
<% end %>
The text was updated successfully, but these errors were encountered: