Install ruby-select2-rails by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-select2-rails
Description:
integrate Select2 javascript library with Rails asset pipeline
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. This gem integrates Select2 with Rails asset pipeline for easy of use.
Homepage: https://github.com/argerim/select2-rails
Version: 3.5.9.3-2
Section: universe/ruby