Skip to content

Comments

Documentation Working with Javascript Fix remote: true#44123

Merged
zzak merged 2 commits intorails:mainfrom
Pauloparakleto:patch-1
Jan 9, 2022
Merged

Documentation Working with Javascript Fix remote: true#44123
zzak merged 2 commits intorails:mainfrom
Pauloparakleto:patch-1

Conversation

@Pauloparakleto
Copy link
Contributor

The explanation after the form example

"Because the form's remote option is set to true, the request will be posted to the UsersController as an Ajax request, looking for JavaScript..."

Infers the form example has the remote: true

form_with model: @user, remote: true do |form|

The explanation after the form example, 
"Because the form's remote option is set to true, the request will be posted to the UsersController as an Ajax request, looking for JavaScript..."
Infers the form example has the remote: true
@rails-bot rails-bot bot added the docs label Jan 8, 2022
@Pauloparakleto Pauloparakleto changed the title Fix remote: true Working with Javascript Fix remote: true Jan 8, 2022
@Pauloparakleto Pauloparakleto changed the title Working with Javascript Fix remote: true Documentation Working with Javascript Fix remote: true Jan 8, 2022
Copy link
Member

@p8 p8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Pauloparakleto for contributing to Rails!

change to local: false as suggested by @p8

Co-authored-by: Petrik de Heus <petrik@deheus.net>
@zzak zzak merged commit f639801 into rails:main Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants