Skip to content

Commit

Permalink
Merge pull request #22211 from atul-shimpi/master
Browse files Browse the repository at this point in the history
Add comma to to make the information clear
  • Loading branch information
kaspth committed Nov 7, 2015
2 parents 6158355 + d2a7b98 commit af3ac50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/form_helpers.md
Expand Up @@ -657,7 +657,7 @@ NOTE: If the user has not selected a file the corresponding parameter will be an

### Dealing with Ajax

Unlike other forms making an asynchronous file upload form is not as simple as providing `form_for` with `remote: true`. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission.
Unlike other forms, making an asynchronous file upload form is not as simple as providing `form_for` with `remote: true`. With an Ajax form the serialization is done by JavaScript running inside the browser and since JavaScript cannot read files from your hard drive the file cannot be uploaded. The most common workaround is to use an invisible iframe that serves as the target for the form submission.

Customizing Form Builders
-------------------------
Expand Down

0 comments on commit af3ac50

Please sign in to comment.