Skip to content

Release 2547

Choose a tag to compare

@github-actions github-actions released this 23 Jun 10:15
fa78301

Trello card

Trello-601

Context

We are currently running Rails 7 with the Rails 6 defaults; we want to upgrade to be on the Rails 7 defaults.

Changes proposed in this pull request

  • Move to Rails 7 defaults

Remove the new_framework_defautls initializer and change the application to load the Rails 7 defaults.

  • Explicitly allow other host in redirect

If redirecting to another host we have to explicitly allow this in Rails 7 defaults.

  • Update specs to account for button_to behaviour

Prior to Rails 7 button_to would either render an input[type=submit] (when passed a string) or a button (when passed a block). Using the Rails 7 defaults it will always render a button.

Guidance to review