Hello There!!, In the previous blog we lean how to deploy a rails application with passenger and nginx. Today we are going to learn how to deploy a rails application with passenger and nginx with SSL. Here is an example of that
Install Gem
Add gem 'activeadmin-select2', github: 'mfairburn/activeadmin-select2'
in your application’s Gemfile and run bundle install
.
Using in resource form
You can use select-2 as two different purpose. as like:
Single select option
Write following line inside the form section of resource(active admin model)
Multiple selection
Write following line inside the form section of resource(active admin model)
Now You can see both single and multiple use of select-2 in active admin rails. Thanks for the reading !!!!!!