bootstrap_form
https://github.com/bootstrap-ruby/bootstrap_form
Ruby
Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
BootstrapForm::Aliasing#bootstrap_method_alias
This code is copied and pasted from ActiveSupport, but with :bootstrap hardcoded as the feature name, and with the deprecation warning removed.
Edit
git clone [email protected]:bootstrap-ruby/bootstrap_form.git
cd bootstrap_form
open lib/bootstrap_form/aliasing.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-BootstrapForm--Aliasing-bootstrap_method_alias-for-pr
# Commit to gitgit add lib/bootstrap_form/aliasing.rbgit commit -m "better docs for BootstrapForm::Aliasing#bootstrap_method_alias"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-BootstrapForm--Aliasing-bootstrap_method_alias-for-pr
hub pull-request
# Celebrate!