Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

190120SU2309 updated multipart syntax & deleted broken link - #1256

Open
ivanscdo wants to merge 1 commit into
turingschool:masterfrom
ivanscdo:bug.multipart-syntax
Open

190120SU2309 updated multipart syntax & deleted broken link#1256
ivanscdo wants to merge 1 commit into
turingschool:masterfrom
ivanscdo:bug.multipart-syntax

Conversation

@ivanscdo

Copy link
Copy Markdown

<%= form_for(@article, html: {multipart: true}) do |f| %> gave syntax error. changed to <%= form_for @article, :html => {:multipart => true} do |f| %> based on Alston's answer at https://stackoverflow.com/questions/10526641/form-for-with-multipart-true-spits-out/10526674

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant