twbs / twbs/bootstrap-rubygem

I am getting undefined method `error_span' after upgrading to Bootstrap 4

Open
#144 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
2k
Forks
437
Avg merge
1h
Merged PRs (30d)
1

Description

I am getting this error after upgrading to this gem (Bootstrap 4)

undefined method error_span' for #SimpleForm::FormBuilder:0x00007fca51714238`

due to:

<%= f.error_span(:location_id) %>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported <%= f.error_span(:location_id) %> entry point and trace the Bootstrap 4 upgrade affecting SimpleForm::FormBuilder. Reproduce the undefined-method error and determine the expected compatibility behavior; done when the reported form helper works or the incompatibility is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.