Skip to content

Rename 'Explicit Locals to Strict Locals`#45727

Merged
byroot merged 1 commit intorails:mainfrom
joelhawksley:rename-strict-locals
Aug 2, 2022
Merged

Rename 'Explicit Locals to Strict Locals`#45727
byroot merged 1 commit intorails:mainfrom
joelhawksley:rename-strict-locals

Conversation

@joelhawksley
Copy link
Copy Markdown
Contributor

@joelhawksley
Copy link
Copy Markdown
Contributor Author

@byroot 👋🏻

@byroot byroot merged commit 91b51e3 into rails:main Aug 2, 2022
@joelhawksley joelhawksley deleted the rename-strict-locals branch August 2, 2022 11:36
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 25, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 25, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
seanpdoyle added a commit to seanpdoyle/rails that referenced this pull request Jan 25, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
viralpraxis pushed a commit to viralpraxis/rails that referenced this pull request Mar 24, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
fractaledmind pushed a commit to fractaledmind/rails that referenced this pull request May 13, 2024
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
yoones pushed a commit to yoones/rails that referenced this pull request Mar 6, 2025
Motivation / Background
---

Strict Locals support was introduced in [rails#45727][] and announced as part
of the [7.1 Release][]. There are several mentions across the Guides,
but support is rarely mentioned in the API documentation.

Detail
----

Mention the template short identifier (the pathname, in most cases) as
part of the `ArgumentError` message.

This commit adds two test cases to ensure support for splatting
additional arguments, and for forbidding block and positional arguments.

It also makes mention of strict locals in more places, and links to the
guides.

[rails#45727]: rails#45727
[7.1 Release]: https://edgeguides.rubyonrails.org/7_1_release_notes.html#allow-templates-to-set-strict-locals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants