Skip to content

Commit

Permalink
Merge pull request #378 from GBH/removing-deprecations
Browse files Browse the repository at this point in the history
[v4] Removing deprecated methods
  • Loading branch information
mattbrictson committed Jan 17, 2018
2 parents 6082396 + c5f6d0d commit cd17df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,7 +4,8 @@ Bugfixes:
- Your contribution here!
- form-control-danger is replaced with is-invalid for bootstrap 4.0.0.beta3
- form-control-feedback is replaced with invalid-feedback for bootstrap 4.0.0.beta3
- help texts are rendered with <small> tag instead of <span> tag, i.e. like in bootstrap 4.0.0.beta3
- help texts are rendered with <small> tag instead of <span> tag, i.e. like in bootstrap 4.0.0.beta3
- completely removing deprecated methods: `check_boxes_collection` and `radio_buttons_collection`

Features:
- Your contribution here!
Expand Down
10 changes: 0 additions & 10 deletions lib/bootstrap_form/form_builder.rb
Expand Up @@ -207,16 +207,6 @@ def collection_radio_buttons_with_bootstrap(*args)

bootstrap_method_alias :collection_radio_buttons

def check_boxes_collection(*args)
warn "'BootstrapForm#check_boxes_collection' is deprecated, use 'BootstrapForm#collection_check_boxes' instead"
collection_check_boxes(*args)
end

def radio_buttons_collection(*args)
warn "'BootstrapForm#radio_buttons_collection' is deprecated, use 'BootstrapForm#collection_radio_buttons' instead"
collection_radio_buttons(*args)
end

def form_group(*args, &block)
options = args.extract_options!
name = args.first
Expand Down

0 comments on commit cd17df2

Please sign in to comment.