Skip to content

Instantly share code, notes, and snippets.

@airblade
Last active October 7, 2021 13:33
Show Gist options
  • Save airblade/a21e753586beb23ba8e0c87ee7e667c5 to your computer and use it in GitHub Desktop.
Save airblade/a21e753586beb23ba8e0c87ee7e667c5 to your computer and use it in GitHub Desktop.

Revisions

  1. airblade revised this gist Oct 7, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions upgrade.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    | `form_with` | local | remote |
    |---------------|---------|----------|
    | `form_with` | HTTP request | XHR / fetch() |
    |---------------|----------------|-----------------|
    | 6.0 | `local: true` | (default) |
    | 6.1 | (default) | `local: false` |

  2. airblade revised this gist Oct 6, 2021. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions upgrade.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    | `form_with` | local | remote |
    |-------------|---------|----------|
    |---------------|---------|----------|
    | 6.0 | `local: true` | (default) |
    | 6.1 | (default) | local: false |
    | 6.1 | (default) | `local: false` |

    `link_to`, `form_for`: defaults to local. Use `remote: true` to make remote.
  3. airblade revised this gist Oct 6, 2021. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions upgrade.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    | form_with | local | remote |
    | `form_with` | local | remote |
    |-------------|---------|----------|
    | a | b | c |
    | 6.0 | `local: true` | (default) |
    | 6.1 | (default) | local: false |
  4. airblade created this gist Oct 6, 2021.
    3 changes: 3 additions & 0 deletions upgrade.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    | form_with | local | remote |
    |-------------|---------|----------|
    | a | b | c |