Skip to content

Test That namespace Works - #784

Merged
lcreid merged 1 commit into
bootstrap-ruby:mainfrom
lcreid:533-namespaced-id-for
Dec 9, 2025
Merged

Test That namespace Works#784
lcreid merged 1 commit into
bootstrap-ruby:mainfrom
lcreid:533-namespaced-id-for

Conversation

@lcreid

Copy link
Copy Markdown
Contributor

The namespace option on the form_for, or in our case, bootstrap_form_for was reported in #533 as not working. I made some test cases, and the labels had the namespace added, except for Rails 7.2 (which at the time of my investigation is the earliest version we're testing/supporting).

It turns out that this was a Rails bug. Rails fixed this in https://github.com/rails/rails/pull/55719.

It was surprisingly hard to add the namespace myself. Since Rails 7.2 is already in security support only, I chose to leave it as a Rails bug and skip the tests for Rails 7.2.

Closes: #533 .

@lcreid
lcreidforce-pushed the 533-namespaced-id-for branch from 018669f to ad306edCompareDecember 9, 2025 22:36
@lcreidlcreid self-assigned this Dec 9, 2025
@lcreid
lcreid merged commit 0677c79 into bootstrap-ruby:mainDec 9, 2025
18 checks passed
@lcreid
lcreid deleted the 533-namespaced-id-for branch December 9, 2025 22:38
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Labels don't use namespaced ids

1 participant

@lcreid